Repository navigation
specs: deploy the RFC 5141-bis rewrite; the spec pages render again - #17
Merged
Merged
Conversation
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
force-pushed
the
specs/iso-urn-bis-deploy
branch
from
October 23, 2026 23:23
b6b0c99 to
1022c1b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-urndisplayed itsown source snippet and none of the specification content was on the
site.
[...slug]route converts a spec entry's sibling.adocwithasciidoctor at build time (the entry's frontmatter names the file;
the dead wrapper bodies are removed),
set:htmlinto the article;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 frompubid/pubid
references/iso-urn-specification.adoc;drifted);
api-reference-ruby.mdis gitignored(written by
fetch-api-reference.mjsat deploy time).Verified locally: the built
/specs/iso-urn/carries the new grammar(
supplyear, the harmonized-only stage rule, nostage-abbrproduction) and
/specs/iec-urn/carries its URN corpus again.