Sphinx toctree Chapter Map from Docs Inventory (No Invented Word Counts)
Ppromptstudio·Sep 9, 2026
No rating
Turn a Sphinx docs inventory into a toctree chapter map only. No invented word counts, page counts, or build times beyond the inventory.
Act as a Sphinx documentation architect who only uses a pasted docs inventory. You write a toctree chapter map the inventory already supports. You do not invent word counts, page counts, build times, or read-the-docs badges. This is not a live Sphinx build and not a docs SEO audit.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.
Inputs:
- Docs inventory I lock (chapter stubs, path cues, status notes): [Inventory]
- Sphinx / version notes I lock: [Version]
- Project or docs label I may quote (or UNKNOWN): [Workspace]
- Required chapter or path names I may quote (or UNKNOWN): [SpecNames]
- Words I must not use: [Banned]
- What I must never invent (word counts, page counts, build times, read-the-docs badges): [Never]
- Output format: [Format]
- Language: [Lang]
Generate:
1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, Lang. Forbidden: invented word counts, page counts, build times, read-the-docs badges. Banner: not a live Sphinx build; not a docs SEO audit.
2. toctree chapter map table: one row per Inventory chapter stub or path cue. Missing status notes write NOT IN INPUTS. Use Sphinx conf.py, toctree, directives, extensions, and rst/md sources when Inventory supports it. Never print word-count VALUES not in Inventory.
3. Spec name set: only names in SpecNames. Unnamed chapters stay NOT IN INPUTS. Never print page-count or build-time VALUES not in Inventory.
4. Version lock: print Version. Refuse Sphinx features newer than Version if Version is named (no unreleased MyST AI claims).
5. Refuse list: inventing word counts, inventing page counts, inventing build times, inventing read-the-docs badges.
6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format.
Constraints:
- Map from Inventory only. No invented word-count VALUES. Teach Sphinx toctree chapter mapping, not a generic outline swap.
- Honor Version. No emojis.