Skip to main content

SUBMODULE_SECTIONS

Constant SUBMODULE_SECTIONS 

const SUBMODULE_SECTIONS: [(&str, &str); 2];
Expand description

The two Python submodules that have no mkdocstrings anchors of their own, and the section heading each one’s symbols are pointed at instead.

mkdocstrings resolves ::: atune.samplers by looking for a file, and a #[pymodule] submodule of a compiled package has none — measured at M7.D3 (§1.3.49). docs/api/python.md therefore documents the two by hand under ## `atune.samplers` / ## `atune.schedulers` , and those headings are the honest target for a submodule symbol: the section that describes it. The anchors are written here rather than read off the page, because a page is not a registry; mkdocs build --strict validates them on every build through validation.links.anchors, so a renamed heading is a red build rather than a dead link.