Skip to content

specs: deploy the RFC 5141-bis rewrite; the spec pages render again - #17

Merged
ronaldtse merged 1 commit into
mainfrom
specs/iso-urn-bis-deploy
Oct 23, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
specs/iso-urn-bis-deploy

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

The spec pages have been rendering empty since the Astro cutover.
The VitePress-era wrappers (a Vue <script setup> importing the
.adoc) are not processed by Astro, so /specs/iso-urn displayed its
own source snippet and none of the specification content was on the
site.

  • the [...slug] route converts a spec entry's sibling .adoc with
    asciidoctor at build time (the entry's frontmatter names the file;
    the dead wrapper bodies are removed), set:html into the article;
  • the ISO URN spec is the RFC 5141-bis rewrite — the strictly
    additive extension shipped in pubid 2.0.0.pre.alpha.52: stages
    carried as harmonized codes only (the typed abbreviations are a
    deprecated ingestion alias, re-canonicalized on render), the
    supplement year slot (amd:1:2007:v1), the per-supplement stage,
    the true <supplversion> — synced byte-identical from
    pubid/pubid references/iso-urn-specification.adoc;
  • the IEC URN spec synced from the same source of truth (it had also
    drifted);
  • the prebuild-generated api-reference-ruby.md is gitignored
    (written by fetch-api-reference.mjs at deploy time).

Verified locally: the built /specs/iso-urn/ carries the new grammar
(supplyear, the harmonized-only stage rule, no stage-abbr
production) and /specs/iec-urn/ carries its URN corpus again.

The specs pages never survived the Astro cutover: the VitePress-era
wrappers (a Vue script-setup importing the .adoc) are not processed by
Astro, so www.pubid.com/specs/iso-urn rendered its own source snippet
and the spec content was absent from the site entirely.

- the slug route converts a spec entry's sibling .adoc with
  asciidoctor at build time (frontmatter names it; the wrapper bodies
  are gone), set:html into the article;
- the ISO URN spec is the RFC 5141-bis rewrite (the additive
  extension: harmonized stages only, the supplement year slot, the
  per-supplement stage, the deprecated abbreviation ingestion alias),
  synced byte-identical from pubid/pubid references/;
- the IEC URN spec synced from the same source of truth;
- the prebuild-generated api-reference-ruby.md is gitignored (it is
  written by fetch-api-reference.mjs at deploy time).
@ronaldtse
ronaldtse force-pushed the specs/iso-urn-bis-deploy branch from b6b0c99 to 1022c1b Compare October 23, 2026 23:23
@ronaldtse
ronaldtse merged commit f72ee49 into main Oct 23, 2026
1 check 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