site: add autogenerated section support

This commit is contained in:
Johannes Kirschbauer
2025-10-07 19:28:29 +02:00
parent 8030b64cdb
commit 4aa01a63dc
3 changed files with 65 additions and 2 deletions

View File

@@ -431,7 +431,7 @@ def produce_inventory_docs() -> None:
output = """# Inventory Submodule
This provides an overview of the available options of the `inventory` model.
It can be set via the `inventory` attribute of the [`clan`](../../reference/options/clan_inventory.md) function, or via the [`clan.inventory`](../../reference/options/clan_inventory.md) attribute of flake-parts.
It can be set via the `inventory` attribute of the [`clan`](../../reference/options/clan.md) function, or via the [`clan.inventory`](../../reference/options/clan_inventory.md) attribute of flake-parts.
"""
# Inventory options are already included under the clan attribute