Thank you for improving the Capa website and documentation. Contributions are reviewed through GitHub pull requests in capa-cloud/capa.io.
git clone --recurse-submodules https://github.com/capa-cloud/capa.io.git
cd capa.io
npm ci
npm --prefix themes/docsy install
make devHugo Extended 0.145.0 is preferred. If it is not installed, scripts/hugo.sh uses the pinned Docker image.
- Create a branch from
master. - Edit the appropriate file under
content/zh/orcontent/en/. - Add the corresponding translation when the same workflow is available in both languages.
- Put unfinished pages behind
draft: true; never publish Docsy template content. - Use repository-relative links for files in this repository and canonical HTTPS links for external resources.
- Run
make checkbefore opening a pull request.
For website code or build changes, also run:
npm test
make build- The page explains what the reader can accomplish and includes prerequisites where needed.
- Commands and dependency versions match the source repositories.
- All links and images resolve.
- Chinese and English navigation remain usable.
- Examples contain no credentials, private endpoints, customer data, or personal identifiers.
- Generated
docs/,public/, andresources/files are not committed.
Use GitHub Issues for broken pages, incorrect examples, translation gaps, and build failures. Security-sensitive reports should not include secrets or exploit data in a public issue.
By contributing, you agree that your contribution is licensed under the repository's Apache License 2.0.