Preview Help Documentation

Open the documentation site preview

On the left side of the console, select "Doc Preview". The current project's documentation site will open in a new tab at an address like /preview/<project-id>/. At the top of the page, there is navigation for "Home", "Docs", and "Blog"; the left side displays the documentation table of contents and a search box, and the right side displays the body of the current chapter.

Documentation site preview page, with the project name, search box, and chapter navigation displayed on the left

Browse the table of contents and chapters

The left table of contents comes from _sidebar.md in the project's documentation source and lists chapters hierarchically; click an item to switch the body. For chapters with content, the body is read from chapters/<node-id>.md and an "On this page" navigation is displayed on the right; chapters whose content has not yet been generated display a "No content yet" message.

After opening the "Browse products by category" chapter, the left table of contents, the chapter body, and "On this page" are displayed at the same time

At the top of the left table of contents, there is a theme toggle button that lets you switch between light and dark display. After modifying the Markdown in the documentation source, refresh the preview page to see the latest table of contents and body.