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 a22268a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: frontend/purestack.studio/guides/site-config.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,7 +172,7 @@ In `hybrid` mode, a folder's `_nav.json` can order discovered pages, add custom
172
172
}
173
173
```
174
174
175
-
Place this in `content/guides/_nav.json`. A nav file can also use `"mode": "override"` to replace that folder's discovered items, or `"root"` to select another built navigation root. The default nav filename is `_nav.json`.
175
+
Place this in `content/guides/_nav.json`. A custom item's `url` is relative to the nav file's folder, unless it starts with `/`, which makes it site-absolute: `/components/` links to another section. Give an item an `id` to place it with `sequence`. Previous and next links stay within the current navigation root, so a link to another section appears in the menu but is skipped by previous and next. A nav file can also use `"mode": "override"` to replace that folder's discovered items, or `"root"` to select another built navigation root. The default nav filename is `_nav.json`.
176
176
177
177
`pageToc.enabled` sets the default for a page's table of contents; individual pages can override it with frontmatter `layout.showToc`. `docLayout.sidebarTop` and `sidebarTopMobile` are CSS lengths measured from the viewport top. Adjust them when your header height changes so the sidebars and mobile drawers start below it.
0 commit comments