Best Practices

From creating a project to publishing the site, it is recommended to proceed through the left-side menu in order. The four stages require manually switching menus; the system does not automatically connect them into a pipeline.

Recommended flow: Project Management Create project → Document Creation Generate outline → Document Creation Explore and write → Site Publishing Publish document

Four-Step Quick Path

  1. Create a project: From the left, go to "Project Management" and click "New Project". Fill in the project name, project type, and project directory. The project directory should be an absolute path on the machine running UDocs. After saving, confirm that "Current Project" at the top is the newly created project.
  2. Generate an outline: Go to "Document Creation" on the left. If there is no outline yet, click "Generate Outline". The system reads the project materials and organizes a three-level directory of modules, features, and scenarios. After generation, first check the directory scope, adjust nodes as needed, and then select a chapter from the directory to start writing.
  3. Create documents: Still in "Document Creation", complete the body node by node. First perform UI exploration, then supplement manual screenshots for sensitive features, next use batch direct writing to fill gaps, and finally optimize node by node with AI editing.
  4. Publish documents: First check the directory, body, and screenshots in "Document Preview". When external access is needed, go to "Site Publishing" on the left, select a theme and documentation language, enter a second-level domain, wait for DNS resolution to take effect, and then click "Publish Site". Publishing usually takes 1–2 minutes to take effect. After completion, you can copy the access URL or open the site.

Key Sequence for Document Creation

UI exploration (side-effect-free features) → Manual recording (complex, sensitive features) → Batch direct writing (fill empty nodes) → AI editing (node-by-node optimization)

  1. UI exploration for features with no side effects. For querying, browsing, filtering, viewing details, and other features that do not modify data, you can use "Batch Exploration" to generate content. Features that have negative side effects on the system (such as accounts, payments, etc.) should first be excluded entirely, and in "Select modules or features to ignore", clear the checkbox for the entire feature.
  2. Manual recording, then let AI generate. For business points that are somewhat complex or difficult for AI to reach automatically, you can perform manual operations, then let AI automatically generate the content of the relevant sections based on the recorded operation steps and screenshots.
  3. Manual operations and additional screenshots. For important section points that need special emphasis, take screenshots manually, paste them directly into the body editor, and then add necessary explanations. This serves as the basis for further AI optimization later.
  4. Batch direct writing to fill empty nodes. Select the features to fill in and let the system write modules, features, and scenarios that are still empty based on project materials. Do not check "Overwrite existing content"; the system skips generated or manually modified body text, and screenshots and manual explanations will not be rewritten.
  5. Finally, use AI editing node by node. Open "AI Editing" and make requests such as polishing, adding steps, or condensing the expression. Confirm the proposed changes before applying them. AI editing works on the current node as a unit and cannot organize the entire directory at once; it also does not read information from screenshots in the body. Facts in screenshots should first be written as text by a person.

Key protection rules: First exclude sensitive features entirely from batch UI exploration; nodes with saved manual screenshots will be automatically retained if "Do not overwrite" is kept selected during subsequent batch direct writing.