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/developer/editing-documentation.md
2026-03-31 16:04:03 +05:00

1.2 KiB
Raw Blame History

Editing this documentation

Local setup

cd docs-site
python3 -m venv .venv
source .venv/bin/activate   # Windows: .venv\Scripts\activate
pip install -r requirements.txt
mkdocs serve

Open http://127.0.0.1:8000 and edit files under docs-site/docs/. The site reloads on save.

Conventions

  • Use admonitions for legal and safety notes (!!! warning for proprietary / leak context).
  • Prefer relative links between pages (../reference/cli-entry.md in source becomes sibling URLs when built).
  • Add mermaid only where diagrams clarify flow; keep mermaid syntax compatible with Material diagrams.

After structural changes

If you add a new top-level topic that appears in Anthropics docs index, add a row to Official docs map.

Publishing

Pushing to main runs the GitHub Action that deploys to gh-pages. Ensure site_url in mkdocs.yml matches your GitHub Pages base URL.

See also: Documentation and CI for your own projects.