Maintaining Markdown documentation sources in the project

Documentation source directories

The project's documentation site is generated from Markdown files under the project root. The Project Overview's "Local Directories" displays the project root path; udocs-docs stores documentation sources, and export generates a sibling udocs-docs-dist by default. These two directories are skipped during project material scanning, so they do not appear in the requirements tree or materials list.

Expand "Skipped" to view the skipped directories and the reasons. The current project shows openspec/udocs-docs and udocs-docs, both with status generated or dependency directory skipped.

Project Overview showing local directories and an expanded list of skipped documentation directories

Location Purpose
_sidebar.md Left-side table of contents and chapter hierarchy for the documentation site
chapters/<node-id>.md Chapter body text; file names correspond to node IDs in the directory tree
assets/ or <node-id>.assets/ next to a chapter Static assets such as documentation images
_site.json Optional site theme and branding configuration; not published with static export
udocs-docs-dist Static site directory generated by default on export; also excluded from material scanning

Check the preview from the documentation source

Open a chapter in "Documentation Preview" to check the table of contents generated by _sidebar.md and the body text in chapters/<node-id>.md. After modifying Markdown, refresh the preview page, and the table of contents and body text will be displayed according to the new file contents.

Chapter preview generated from the project's Markdown documentation sources, showing the left-side table of contents and body text together