diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index b86890e5b193271977ab4530f55613cd815358d0..820aeb3d01a73cf439c0ffcb69a8b668379c0622 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -24,7 +24,7 @@ const config = { logo: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/5a7f902b-21a7-4822-884f-925219eacc4b.png', // TODO use plugin/theme sidebar: createSidebar(tabs), - // sidebarDepth: 2, + sidebarDepth: 0, nextLinks: false, prevLinks: false, // TODO use theme @@ -44,6 +44,7 @@ const config = { } }, markdown: { + // toc: { includeLevel: [1, 2, 3, 4] }, slugify(str) { if (typeof str !== 'string') return '' diff --git a/docs/.vuepress/theme/components/Toc-top.vue b/docs/.vuepress/theme/components/Toc-top.vue new file mode 100644 index 0000000000000000000000000000000000000000..a5bd641165c017ece6498d37d8b91b64181a7429 --- /dev/null +++ b/docs/.vuepress/theme/components/Toc-top.vue @@ -0,0 +1,45 @@ + + + diff --git a/docs/.vuepress/theme/components/Toc.vue b/docs/.vuepress/theme/components/Toc.vue index b2f14aefabca256e7bbadb25050814dfeac24e18..5db5de54b22524c253e3d2f5ba11cad0ad3ff538 100644 --- a/docs/.vuepress/theme/components/Toc.vue +++ b/docs/.vuepress/theme/components/Toc.vue @@ -1,14 +1,14 @@