add documentation

This commit is contained in:
Osman Mehmood
2026-03-31 15:38:58 +05:00
parent b7a82da0be
commit 9024f81eb7
32 changed files with 941 additions and 2 deletions

87
docs-site/mkdocs.yml Normal file
View File

@@ -0,0 +1,87 @@
# Set site_url after first GitHub Pages deploy, e.g. https://YOUR_USER.github.io/claude-code-source-code/
site_name: Claude Code internals (recovered source)
site_description: Architecture and code reference for the reconstructed Claude Code CLI tree, cross-linked to official Anthropic docs.
site_author: Repository maintainers
# Update for your fork:
repo_url: https://github.com/marium/claude-code-source-code
repo_name: claude-code-source-code
edit_uri: edit/main/docs-site/docs/
theme:
name: material
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/brightness-4
name: Switch to light mode
features:
- navigation.tabs
- navigation.sections
- navigation.expand
- navigation.top
- search.suggest
- search.highlight
- content.code.copy
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- tables
- toc:
permalink: true
nav:
- Home: index.md
- Getting started:
- installation.md
- reproducibility.md
- Architecture:
- architecture.md
- workflows.md
- Official docs map: official-docs-map.md
- Reference:
- reference/cli-entry.md
- reference/repl-ui.md
- reference/query-engine.md
- reference/tools.md
- reference/mcp.md
- reference/lsp.md
- reference/permissions.md
- reference/compaction.md
- reference/settings-policy.md
- reference/plugins-skills.md
- reference/print-sdk.md
- reference/api-client.md
- reference/telemetry.md
- reference/voice-vim-output.md
- reference/remote-bridge.md
- Appendix:
- appendix/directory-structure.md
- appendix/tool-packages.md
- appendix/environment-variables.md
plugins:
- search
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/marium/claude-code-source-code