This repository has been archived on 2026-04-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
claude-code-2026-04-02/docs-site/docs/guides/documentation-and-ci-for-docs.md
2026-03-31 16:04:03 +05:00

1.8 KiB
Raw Blame History

Documentation and CI (pattern from this repo)

You can reuse the same mechanics this project uses for any open-source or internal project docs—not Claude Code itself.

Ingredients

Piece Location here
Static site MkDocs + Material for MkDocs
Sources docs-site/docs/**/*.md, docs-site/mkdocs.yml
Build mkdocs build -f docs-site/mkdocs.yml
Deploy GitHub Actions → gh-pages branch (e.g. peaceiris/actions-gh-pages)

Checklist for a new repo

  1. Add docs-site/ with mkdocs.yml, requirements.txt, and Markdown under docs/.
  2. Set site_url when GitHub Pages URL is known.
  3. Add workflow: Python setup → pip install -r docs-site/requirements.txtmkdocs build → deploy docs-site/site.
  4. Enable GitHub Pages from gh-pages / root (or switch to GitHubs native Pages Actions upload).
  5. Use enable_jekyll: false (or commit .nojekyll) so Jekyll does not skip underscore paths.

This forks live site

Configured site_url: https://mehmoodosman.github.io/claude-code-source-code/

See also