mirror of
https://github.com/NickCrew/Claude-Cortex.git
synced 2026-09-14 20:17:11 +08:00
cfc7baa7cf
- Update installation and hooks documentation - Add documentation viewer guide - Add parallel workflow enforcer guide - Update watch mode and memory guides - Add beads issue tracking configuration - Add marketplace plugin configuration - Add new plugin templates (accessibility, cognitive, frontend, ux) - Update agents with improved prompts - Update build configuration and manifest
2.5 KiB
2.5 KiB
Documentation Viewer Guide
The Documentation Viewer allows you to browse, search, and read the comprehensive Cortex documentation directly from your terminal. It is available as both a CLI command and an interactive TUI screen.
CLI Usage
Use the cortex docs command to list or view documentation.
List Documentation
Run cortex docs without arguments to see a tree of all available documentation pages.
cortex docs
View a Specific Page
Provide the name or path of a documentation page to render it as formatted Markdown in your terminal.
# View by exact path
cortex docs architecture/MASTER_ARCHITECTURE
# View by filename (recursive search)
cortex docs MASTER_ARCHITECTURE
# View top-level files
cortex docs README
TUI Usage
The Documentation Viewer is integrated into the Cortex TUI for a seamless browsing experience.
Opening the Viewer
- Launch the TUI:
cortex tui - Press
dfrom any view (where not bound to another action) or use the Command Palette (Ctrl+P) and search for "Docs".
Navigation
- Left Pane (Tree): Use arrow keys or
j/kto navigate the documentation hierarchy. Press Enter to expand/collapse directories or select a file. - Right Pane (Content): Use arrow keys,
PageUp/PageDown, orj/kto scroll through the rendered Markdown. - Search: Use the TUI's global search or the Command Palette to find specific documentation topics.
- Back: Press
Escorqto close the documentation viewer and return to your previous view.
Features
- Bundled Documentation: The viewer serves documentation that is bundled directly with the Python package, ensuring you always have access to the correct version of the docs for your installed CLI.
- Rich Rendering: Markdown is rendered with syntax highlighting, tables, and formatted lists using the
richlibrary (CLI) andtextual(TUI). - Recursive Search: The CLI command can find files deep in the directory structure even if you only provide the filename.
- Context-Aware: In specific TUI views, pressing
dmay open documentation relevant to that context (e.g., MCP server documentation when in the MCP view). If no specific docs are linked, it falls back to the general documentation viewer.
Troubleshooting
If you see a "Documentation not found" message:
- Ensure you are running the latest version of the
claude-cortexpackage. - If you are developing locally, ensure the
claude_ctx_py/docsdirectory has been populated (runjust docs-syncor similar).