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
Copy file name to clipboardExpand all lines: docs/default-theme-config/README.md
+12
Original file line number
Diff line number
Diff line change
@@ -142,6 +142,18 @@ sidebarDepth: 2
142
142
---
143
143
```
144
144
145
+
### Active Header Links
146
+
147
+
By default, the nested header links and the hash in the URL are updated as the user scrolls to view the different sections of the page. This behavior can be disabled with the following theme config:
148
+
149
+
```js
150
+
module.exports= {
151
+
themeConfig: {
152
+
disableActiveHash:true, // boolean
153
+
}
154
+
}
155
+
```
156
+
145
157
### Sidebar Groups
146
158
147
159
You can divide sidebar links into multiple groups by using objects:
0 commit comments