You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 392a42a
Browse filesBrowse the repository at this point in the historyBrowse files
fix(docs-site): don't link "see Referenced by" when that section is absent
The capped-neighborhood note ("+N more neighbor(s) — see Referenced by")
linked to #s-referenced-by unconditionally, but that section only renders when
referencedBy has non-extends references. A base/abstract entity with >16
extends-neighbors but no non-extends refs (e.g. BaseEntity) therefore emitted a
dangling anchor, failing the link checker. Gate the link on referencedBy.length.
Found by dogfooding a real ~660-page model (0 dangling after the fix); the acme
golden is unchanged (its neighborhoods never exceed the cap).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
{{#neighborhoodMore}}<divclass="text-xs opacity-50 mt-1">+{{neighborhoodMore}} more neighbor(s) — see <aclass="link"href="#s-referenced-by">Referenced by</a>.</div>{{/neighborhoodMore}}</section>{{/neighborhoodMermaid}}
42
+
{{#neighborhoodMore}}<divclass="text-xs opacity-50 mt-1">+{{neighborhoodMore}} more neighbor(s){{#referencedBy.length}} — see <aclass="link"href="#s-referenced-by">Referenced by</a>{{/referencedBy.length}}.</div>{{/neighborhoodMore}}</section>{{/neighborhoodMermaid}}
0 commit comments