IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /docs/manual/basics.md). For the complete Mojo documentation index, see llms.txt.
Skip to main content
Version: 1.0
For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).

documentation

Documentation built-ins: decorators and utilities for doc generation.

The documentation package provides tools for controlling documentation generation and visibility in Mojo. It offers decorators and utilities that influence how APIs appear in generated documentation, allowing library authors to hide implementation details while maintaining clean public interfaces.

Use this package when authoring libraries to control which symbols appear in generated documentation, hide internal implementation details, or manage the public API surface shown to users.

Modules

  • documentation: Provides decorators and utilities for interacting with Mojo documentation generation and validation.