FilesLast commitLast update
README

Documentation source

This directory in the DataAgent repository on GitCode is the source for the DataGallery online documentation. MkDocs Material provides a local preview. For release artifacts and their source versions, see package deployment.

Maintain public HTTP routes, responses, and AG-UI requests and events in the bilingual REST references. Keep the A2A contract in the bilingual A2A references. Integration and architecture pages link to those contracts.

Documentation scope

The English and Chinese trees use the same five flat chapter directories: getting-started/, data-analysis/, operations/, reference/, and development/. Navigation pages use group.article-name.md in both languages. Group and article numbering restart in each chapter, so getting-started/2.1-product-overview.md starts the second group in Getting started. Unnumbered files provide repository entry points and compatibility with earlier documentation.

Maintain navigation hierarchy, ordering, and section landing pages in this repository's mkdocs.yml. Its extra.navigation_labels supplies localized navigation labels, while page headings provide the default translated page titles. The website reads this configuration with the document source and renders the sidebar, so navigation changes are maintained together with the documents.

Sidebar groups at every depth support folding. extra.navigation.default_expanded_depth controls their initial expansion; 1 opens the first level. The website keeps manual choices across pages and always reveals the current page's ancestors. Preview checks should also confirm group landing-page links still navigate.

Maintenance rules

  • Quick start owns the shortest path to a first reply. Scenarios own complete business tasks. Configuration guides own installing and using existing Skills, MCP services, and plugins; they must include a minimum configuration, evidence of success, and troubleshooting. Custom extension authoring belongs in reference/. Runtime implementation and verification belong in development/. Reference pages own public contracts, field constraints, defaults, and errors.

  • Keep the old page and section targets when splitting or consolidating published content. Link readers to the section that now owns the explanation.

  • Product and Python technical guides share this documentation tree; link to the relevant guide rather than duplicating it.

  • When adding or changing an external-facing page, update its counterpart in the other language, including examples and referenced section anchors.

  • Document behavior that readers can use in the current checkout. Consult Git tags and history for earlier versions.

  • When moving a published page, check its output URL. Keep its existing page path in extra.published_page_paths in mkdocs.yml. The website builder and the MkDocs hook both read this mapping.

  • Example credentials must use placeholder values such as replace-with-your-key.

  • Do not retain source-sensitive narrative.

  • After doc changes, run npm run docs:build and npm run smoke:docs.

Local preview

See local preview for the MkDocs environment and commands.