This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 6e8b1ac  TOC startLevel (#270)
6e8b1ac is described below

commit 6e8b1acaf639ce09428db0558924b7e0196bf6f5
Author: Juntao Zhang <[email protected]>
AuthorDate: Thu May 6 11:33:25 2021 -0500

    TOC startLevel (#270)
---
 config.toml                                | 3 +++
 themes/docsy/assets/scss/_sidebar-toc.scss | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/config.toml b/config.toml
index 93d5132..3e3a217 100644
--- a/config.toml
+++ b/config.toml
@@ -58,6 +58,9 @@ id = "UA-178891182-1"
   [markup.goldmark]
     [markup.goldmark.renderer]
       unsafe = true
+  [markup.tableOfContents]
+    endLevel = 3
+    startLevel = 1
 
 # Everything below this are Site Params
 
diff --git a/themes/docsy/assets/scss/_sidebar-toc.scss 
b/themes/docsy/assets/scss/_sidebar-toc.scss
index fc687b0..efe1f88 100644
--- a/themes/docsy/assets/scss/_sidebar-toc.scss
+++ b/themes/docsy/assets/scss/_sidebar-toc.scss
@@ -32,7 +32,7 @@
     }
 
     li li {
-        margin-left: 1rem;
+        margin-left: 0.7rem;
         line-height: 1.2;
         padding: 0.25rem;
         &:last-child{

Reply via email to