Skip to content

docs: question headings, job-page cross-links, last-modified stamps - #96

Merged
a-essawy merged 1 commit into
mainfrom
docs-geo-linking
Sep 18, 2026
Merged

a-essawy merged 1 commit into
mainfrom
docs-geo-linking

Conversation

@a-essawy

Copy link
Copy Markdown
Contributor

Three measured gaps from a pass over all 34 pages.

1. Question-shaped headings: 0 of 236

apps/web/CLAUDE.md asks docs to "use H2 headings as questions where possible". Compliance was zero. 86 headings now are questions. Question headings match how people and LLMs phrase queries and make each section independently extractable.

Three headings carry an explicit {#anchor} so existing deep links keep resolving: concepts/job#the-output (also a docs.json redirect destination), image-generate#watch-it-render, image-generate#discover-models.

2. The job pages were the least-linked pages in the docs

page before after
jobs/image-upscale 0 4
jobs/compose 1 7
jobs/compress 1 8
jobs/captions/burn 1 4
jobs/captions/animate 2 5
jobs/ffprobe 3 5

For contrast, storage/index had 39 and concepts/job 37. compose, captions/animate and captions/burn had no closing links section at all, which is why they neither received nor passed authority. In-body links across the docs go 213 → 269.

3. No freshness signal

metadata.timestamp was unset, so no page showed when it last changed. Enabled globally; Mintlify derives the date from the git commit. boost: 2 added to the two pages people search for first.

Two dead links fixed on the way

  • jobs/compose.mdx linked /api-reference/assets404, no such section exists. Now /sdk#uploads.
  • The apex support page links /docs/quickstart#authentication, an anchor Mintlify never emitted. The quickstart API-key step now carries that id, so the existing apex link resolves without an apex change.

Test plan

validate:frontmatter   PASS    validate:webhooks    PASS (36/36)
validate:nav           PASS    validate:templates   PASS
validate:plan-limits   PASS
dead in-body links     0

After merge, verify the pinned anchors resolve and the timestamp renders.

Three measured gaps, from a pass over all 34 pages.

Headings: 0 of 236 H2s were question-shaped, though apps/web/CLAUDE.md asks
for questions where possible. 86 now are. Three headings carry an explicit
{#anchor} so existing deep links keep resolving, including the
/concepts/job-output redirect destination.

Internal links: the job pages were the least-linked pages in the docs.
image-upscale had zero in-body inbound links, compose, compress and
captions/burn had one each, while storage/index had 39. compose,
captions/animate and captions/burn had no closing links section at all.
In-body links go 213 to 269.

  image-upscale  0 -> 4      compress       1 -> 8
  compose        1 -> 7      captions/burn  1 -> 4
  captions/animate 2 -> 5    ffprobe        3 -> 5

Freshness: metadata.timestamp was off, so no page showed when it last
changed. Mintlify reads the git commit date once it is enabled.

Also fixes two dead links found on the way: compose pointed at
/api-reference/assets, which 404s and has never existed, and the apex
support page links /docs/quickstart#authentication, an anchor that was
never emitted. The quickstart API-key step now carries that id.
@a-essawy
a-essawy merged commit c2cf4b8 into main Sep 18, 2026
2 checks passed
@a-essawy
a-essawy deleted the docs-geo-linking branch September 18, 2026 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant