Technical guide
Technical guide

Documentation maintenance

The articles in content/ are portable Markdown. manifest.json controls the navigation of the small local reader; build.mjs generates site/ with Node.js. The rendered site is a convenience output, not the authoritative text.

When a feature changes

Treat documentation as part of each feature change, not a later cleanup task.

  1. Update or add the functional guide in the same work: identify who can use and manage the feature, the exact entry point, prerequisites, numbered actions, the saved or visible result, and the common denial or empty state.
  2. Verify named permissions against route and controller checks. Describe object, field, and record access separately when relevant; do not infer permission from a visible link.
  3. Update the technical, component, or developer guide when routes, data contracts, parameters, or extension behavior change.
  4. Add new pages to manifest.json and link related guides with relative Markdown links.
  5. Keep startup instructions in startup/README.md until the supported setup and run sequence is finalized.
  6. Rebuild the site and review navigation and links. Write generated output only inside Documentation.

For standard Web Components, refresh the property and method tables from the application source with node tools/generate-component-reference.mjs in the Documentation directory, then review each newly generated description and feature note. The generator writes only content/components/reference/.

Evidence standard

Use the running application for visible labels and workflows, and the source for routes, validation, and implementation boundaries. A source route alone does not prove a complete feature works for every role. A single administrator screen does not prove all users can see it. Mark gaps as pending and avoid invented examples of actual customer data.

Migration to a larger website

The content tree maps directly to sections of a documentation site. A later MkDocs, Starlight, or similar project can import the .md files and replace manifest.json with its own sidebar configuration. Before migrating, run link checks, choose permanent URLs, and decide whether technical content should be public. Keep Markdown links relative so paths can be transformed by the target generator.

No credentials or production data should be copied from the application README, browser session, or screenshots into this directory. If screenshots are added, capture a non-sensitive example, crop only to the instructional area, add alt text, and keep the image beside the article that uses it.