diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..191718b --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,5 @@ +Please makes sure these boxes are checked before submitting your PR, thank you! + +* [ ] Make sure you are merging your commits to `master` branch. +* [ ] Add some descriptions and refer relative issues for you PR. +* [ ] DO NOT include files inside lib directory. diff --git a/docs/de-de/more-pages.md b/docs/de-de/more-pages.md index aeeabf6..3748502 100644 --- a/docs/de-de/more-pages.md +++ b/docs/de-de/more-pages.md @@ -68,3 +68,25 @@ Eine angepasste Seitenleist kann auch automatisch ein Inhaltsverzeichnis generie ``` + +## Ignoring Subheaders + +When `subMaxLevel` is set, each header is automatically added to the table of contents by default. If you want to ignore a specific header, add `{docsify-ignore}` to it. + +```markdown +# Getting Started + +## Header {docsify-ignore} +This header won't appear in the sidebar table of contents. +``` + +To ignore all headers on a specific page, you can use `{docsify-ignore-all}` on the first header of the page. + +```markdown +# Getting Started {docsify-ignore-all} + +## Header +This header won't appear in the sidebar table of contents. +``` + +Both `{docsify-ignore}` and `{docsify-ignore-all}` will not be rendered on the page when used. diff --git a/docs/index.html b/docs/index.html index 001d688..d72d8e1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -34,7 +34,6 @@ loadNavbar: true, maxLevel: 4, name: 'docsify', - repo: 'QingWei-Li/docsify', search: { noData: { '/de-de/': 'Keine Ergebnisse!', diff --git a/docs/zh-cn/more-pages.md b/docs/zh-cn/more-pages.md index 455b203..ae51521 100644 --- a/docs/zh-cn/more-pages.md +++ b/docs/zh-cn/more-pages.md @@ -63,4 +63,25 @@ docs/zh-cn/guide.md => http://domain.com/zh-cn/guide ``` +## Ignoring Subheaders + +When `subMaxLevel` is set, each header is automatically added to the table of contents by default. If you want to ignore a specific header, add `{docsify-ignore}` to it. + +```markdown +# Getting Started + +## Header {docsify-ignore} +This header won't appear in the sidebar table of contents. +``` + +To ignore all headers on a specific page, you can use `{docsify-ignore-all}` on the first header of the page. + +```markdown +# Getting Started {docsify-ignore-all} + +## Header +This header won't appear in the sidebar table of contents. +``` + +Both `{docsify-ignore}` and `{docsify-ignore-all}` will not be rendered on the page when used.