PingCAP Docsite Preview Help

Usage Guide

Steps to preview document changes

Expand to view the flowchart.
forkupdate scaffoldTerminalsync_scaffold.sh  GitHub Actionssync_scaffold.yml  update contentfrom a PRsync_pr.sh sync_pr.ymlfrom multi PRssync_mult_prs.sh sync_mult_prs.ymlmanualmarkdown-pages  periodic updateGitHub Actions sync_scheduler.ymldeploy websitelocal./build.sh dev  cloudNetlifyVercelCloudflare Pages

To preview document changes, perform the following steps:

  1. Fork the pingcap-docsite-preview repository.

  2. Update the scaffold of PingCAP documentation website, including version selection, table of contents, index pages, and the homepage.

    For more information, see Update scaffold.

  3. Update the documentation content you want to preview.

    For more information, see Update content.

  4. Deploy the preview website either locally or on a static hosting service.

    For more information, see Deploy your website.

Notes

  • Fork pingcap-docsite-preview to your GitHub account first.

  • Ensure your fork remains synchronized with the upstream repository.

  • Avoid updating the main branch of your fork. This helps prevent conflicts with the upstream repository.

Last modified: 01 April 2025