Skip to content

reference: fix the orphaned Temporal category nav link#3323

Merged
bartlomieju merged 1 commit into
mainfrom
reference-fix-temporal-orphan
Jun 19, 2026
Merged

reference: fix the orphaned Temporal category nav link#3323
bartlomieju merged 1 commit into
mainfrom
reference-fix-temporal-orphan

Conversation

@bartlomieju

Copy link
Copy Markdown
Member

First polish follow-up after the reference flip (#3321).

The reference sidebar builds its web category list from
web-categories.json, but the actual category pages are generated from
the @category tags in the type definitions. Temporal carries no
@category tag - verified: zero occurrences of @category Temporal in
the generated web.d.ts - so no /api/web/temporal/ page is built, yet
the sidebar still linked to it. The result was a 404 on every web
reference page's sidebar.

This removes the orphaned entry so the broken link is gone. The Temporal
symbols are not lost: they remain reachable under "Other APIs"
(uncategorized), in the all-symbols index, and via search.

Auditing confirmed Temporal is the only such orphan (Deno has none), so a
targeted fix is appropriate rather than a broader sidebar refactor.

Giving Temporal its own proper category would need @category Temporal
tags in the upstream Deno web type definitions (web.d.ts is generated
by the types pipeline, not authored in this repo), which is a separate,
larger change worth doing if Temporal's prominence warrants it.

Verified: reference build green (105 pages), no page links to
/api/web/temporal anymore, and Temporal.PlainDate and friends still
render on the uncategorized page.

The reference sidebar lists web categories from web-categories.json,
but the actual category pages come from the @category tags in the
generated type definitions. Temporal carries no @category tag (verified:
zero in the generated web.d.ts), so no /api/web/temporal/ page is built,
yet the sidebar still linked to it - a 404 on every web reference page.

Removing the entry stops the broken link. The Temporal symbols remain
fully reachable: they group under 'Other APIs' (uncategorized), the
all-symbols index, and search.

Giving Temporal its own category needs @category Temporal tags in the
upstream Deno web type definitions (web.d.ts is generated, not authored
here), which is a separate, larger change.
@bartlomieju bartlomieju merged commit 2715f94 into main Jun 19, 2026
3 checks passed
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