Help Documentation Preview and Export
Markdown documents in a project can generate a complete documentation site for local preview or be exported as a static package that can be hosted independently. Preview is used to check the table of contents, chapter content, and theme appearance; export is used to download a ZIP or publish the documentation site to the udocs website.
- Preview Help Documentation: Open the current project's documentation site from "Documentation Preview" on the left side of the console to browse the table of contents and content.
- Export Static Documentation Package: Download a ZIP from "Export Documentation" in the upper-right corner for independent deployment.
- Export by Site Address and Base Path: Specify the udocs website subdomain for publishing, and confirm whether the documentation is located at the site root path or under
/docs/. - Maintain Markdown Documentation Sources in the Project: Maintain
_sidebar.md,chapters/<node-id>.md, and image resources in the project root directory, then check the result through preview.
Documentation sources are located by default in udocs-docs in the project root directory, and export output is written by default to udocs-docs-dist at the same level. Project material scanning skips these two directories to avoid mixing documentation site content into the requirements material list.