site_url: https://mehmoodosman.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

repo_url: https://github.com/mehmoodosman/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/mehmoodosman/claude-code-source-code
