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/more-pages.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,18 @@ Create the `_sidebar.md`:
51
51
52
52
You need to create a `.nojekyll` in `./docs` to prevent GitHub Pages from ignoring files that begin with an underscore.
53
53
54
+
!> Docsify only looks for `_sidebar.md` in the current folder, and uses that, otherwise it falls back to the one configured using `window.$docsify.loadSidebar` config.
55
+
56
+
Example file structure:
57
+
58
+
```text
59
+
βββ docs/
60
+
βββ _sidebar.md
61
+
βββ index.md
62
+
βββ getting-started.md
63
+
βββ running-services.md
64
+
```
65
+
54
66
## Nested Sidebars
55
67
56
68
You may want the sidebar to update with only navigation to reflect the current directory. This can be done by adding a `_sidebar.md` file to each folder.
0 commit comments