rules_docs

Extensions for bzlmod.

docgen

docgen = use_extension("@rules_docs//docgen:extensions.bzl", "docgen")
docgen.mkdocs(name, plugins, pypi_hub)

TAG CLASSES

mkdocs

Attributes

Name Description Type Mandatory Default
name The name of this mkdocs toolchain. Only used in the root module. Name optional "mkdocs"
plugins List of mkdocs plugins to install List of strings optional []
pypi_hub Name of the pip repository hub that contains mkdocs Label optional "@default_pypi"

Last updated: January 01, 2026 at 08:16 PM