Skip to content

Commit d53eac6

Browse files
committed
v3.7 nav: top-level Ontology dropdown defaults to /ontology/v3.7/
The 'Ontology' nav entry was a dropdown without a default link -- clicking the label could resolve to whichever item the menu state defaulted to (often v3.6 because of menu ordering or browser cache). Adds link: '/ontology/v3.7/' to the parent and tags v3.7 as Current in the dropdown. Older versions remain accessible from the dropdown. Does not touch any v3.6-page sidebar -- those still scope to v3.6 ontology + earlier (v3.5-alpha6) so v3.6 readers see version-aligned links.
1 parent 76702b8 commit d53eac6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/.vitepress/config.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ export default withMermaid(defineConfig({
3333
},
3434
{
3535
text: 'Ontology',
36+
link: '/ontology/v3.7/',
3637
items: [
3738
{ text: 'Browse Ontology', link: '/browse/index.html' },
38-
{ text: 'v3.7 (TTL)', link: '/ontology/v3.7/' },
39+
{ text: 'v3.7 (TTL) — Current', link: '/ontology/v3.7/' },
3940
{ text: 'v3.6 (TTL)', link: '/ontology/v3.6/' },
4041
{ text: 'v3.5-alpha6 (TTL)', link: '/ontology/v3.5-alpha6/' },
4142
{ text: 'v3.5-alpha3 (TTL)', link: '/ontology/v3.5-alpha3/' },

0 commit comments

Comments
 (0)