Documentation
¶
Overview ¶
Command llmsgen writes the documentation for AI agents into the built site (C-21.FR-8, C-21.AC-4): a Markdown version of every page of the navigation of mkdocs.yml, byte for byte its source; the specifications api/openapi.yaml and api/bridge.yaml under api/; llms-full.txt, every page in the order of the navigation with its relative links made absolute; and llms.txt, rendered from the template docs/llms.txt.tmpl, whose functions take every value from its source. Every link names the version given by -version under the site_url of mkdocs.yml. make docs runs it after the build. It fails, naming the file, when a page of the navigation does not exist or has no title, when the template names a page, an anchor, a phrase, a setting or an enum that its source no longer has, when a link of either file outside code is still relative or does not resolve under the site, when llms.txt links out of the site other than to a repository under https://github.com/muster-io/, and when llms.txt is larger than 32 KiB or llms-full.txt is 1 MiB or larger.