Skip to content

llms.txt SECTIONS list is hand-maintained in parallel with nav #178

Description

@armcconnell

SECTIONS in hooks/emit_markdown.py is a manual list of pages that mirrors nav in mkdocs.yml. It's complete today, but a new page added to nav won't appear in llms.txt unless someone also edits the hook.

Fix: derive the section/page list from config.nav so the two can't drift (or, at minimum, add a comment in mkdocs.yml pointing at the hook). Follow-up to #176.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions