Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 51ac2e4

Browse files
Update README.md
1 parent ee38c95 commit 51ac2e4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,11 +428,13 @@ window.$docsify = {
428428
// it can look weird if you don't get to the top of the page.
429429
auto2top: false
430430

431-
// Maximum Table of Contents (TOC) level.
431+
// Maximum sidebar depth.
432432
maxLevel: 6,
433433

434-
// Add table of contents (TOC) in custom sidebar. Try a value of 2.
435-
// This might only apply when using auto sidebar and not custom one.
434+
// How many sub levels to show in the sidebar.
435+
// This is useful for precision for a custom sidebar, but you can leave this out.
436+
// Try a value of 2 to add subheadings. This is particularly useful if you have
437+
// a lot of headings on a page.
436438
subMaxLevel: 0,
437439

438440
// Add your logo to the top of our sidebar menu.
@@ -447,7 +449,7 @@ window.$docsify = {
447449

448450
Configure the homepage settings. You might not need this, but in case you want to use a different homepage target. These recommendations come from the docs.
449451

450-
```js
452+
```javascript
451453
window.$docsify = {
452454
// Change to /home.md rather than /README.md file.
453455
homepage: 'home.md',

0 commit comments

Comments
 (0)