Skip to content

Give bare nofetch normrefs entries trailing text - #25

Merged
ronaldtse merged 1 commit into
mainfrom
fix/bare-nofetch-chips
Nov 5, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
fix/bare-nofetch-chips

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

Validation sweep found the deployed 36812-36819 pages rendering a [NO INFORMATION AVAILABLE] citation chip after every normative reference whose entry ends bare at its [[[id,nofetch(display)]]] anchor. Six parts' entries now carry the cited part's title as trailing text (36814, 36815, 36816, 36817, 36818, 36819), and validate-register.rb reports bare anchors so the chip class cannot ship again. The plurimath/docs validator gets the same check.

Verified locally: metanorma compile of 36816 — zero chips, entries render as citation links.

Test plan

  • ruby scripts/validate-register.rb — VALIDATION OK (13 documents)
  • Local compile of 36816 — chips gone
  • Pages rebuild: spot-check 36816 normrefs on the live site

An entry ending at its anchor renders a [NO INFORMATION AVAILABLE]
citation chip after the display text. The six parts whose normative
references end bare at their CalConnect anchors now carry the cited
part's title, and the register validator reports bare anchors so the
chip cannot ship again.
@ronaldtse
ronaldtse merged commit ab85c1b into main Nov 5, 2026
5 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