This directory is the source tree for the MeshAgent docs corpus.
- Mintlify-authored MDX pages
docs.jsonnavigation and site metadata- source-first examples under
examples/ - generated snippet wrappers under
snippets/examples/ - generated CLI help under
reference/meshagent_cli_help.mdx
- Treat the codebase and shipped examples as the source of truth.
- Treat
examples/as the source of truth for runnable code and YAML. - Treat
snippets/examples/as generated output. - Do not hand-edit generated CLI help or generated snippets as part of normal maintenance.
- Keep archive-only material under archive paths and out of the primary learning flow.
From meshagent-sdk/meshagent-docs/:
npm run build-examples
./build-cli-help.shbuild-examples rebuilds snippet wrappers from examples/**.
build-cli-help.sh regenerates the recursive CLI reference page from the current CLI.
The repo already checks snippet drift and CLI help drift in CI, but the docs system still needs:
- broader docs validation
- stronger example verification
- hygiene checks for junk and secret-like files in
examples/ - scheduled docs audits