Building Docs
The documentation editor provides a split-pane interface for managing and editing documentation pages, featuring a hierarchical tree view on the left and a content editor on the right.
Layout Overview
The documentation editor consists of two main panels that work together to provide a comprehensive editing experience:
Left Panel: Documentation Hierarchy
The left panel displays a tree structure showing all documentation pages organized hierarchically.
Navigation Features:
- Category header showing the current category name
- Search functionality to quickly find specific pages
- Collapse to manage tree visibility
- Focus button to expand the path to the currently selected page
Tree Structure:
- Root pages appear at the top level
- Child pages are nested under their parent pages
Page Management:
- Add child pages using the "+" buttons that appear under expanded parent pages
- Reorder pages using the up/down arrows in the page menu
- Delete pages with options to handle child pages (delete all or move children up)
- Add root pages using the button at the bottom of the tree
Step 1: Navigate to Category
Select a documentation category to view its pages
Step 2: Expand Tree Structure
Use expand/collapse controls to navigate the hierarchy
Step 3: Manage Pages
Right-click any page or use the three-dot menu for actions
Step 4: Add New Pages
Click "+" buttons to add child pages or use "Add Root Item" for top-level pages
Right Panel: Content Editor
When a documentation page is selected from the hierarchy tree, the right panel displays the content editor with comprehensive editing tools.
Page Metadata:
- Title field for the page title
- Description field for a brief page description
- Published toggle - Control whether this page is publicly visible and available in AI knowledge
Content Editing: The main content area uses a markdown editor for creating and editing documentation content.
AI Assistance Tools:
AI Generate
Modal for creating new content, continuing existing content, or editing current content with AI assistance.
AI Title
Generate page titles based on content using AI.
AI Description
Generate page descriptions using AI.
Actions:
- Save button to persist changes to the page
- Share button to share the documentation page
Usage Workflow
Step 1: Access Category
Navigate to a documentation category within your documentation
Step 2: Select Page
Click on a page from the hierarchy tree on the left to open it in the editor
Step 3: Edit Metadata
Update the page title and description in the form fields
Step 4: Edit Content
Use the markdown editor to modify the page content
Step 5: AI Enhancement
Use AI tools to generate, continue, or improve content as needed
Step 6: Save Changes
Click the save button to persist your modifications