diff --git a/docs/site.toml b/docs/site.toml index ef6ebfe..a675928 100644 --- a/docs/site.toml +++ b/docs/site.toml @@ -7,3 +7,6 @@ content = "content" output = "public" static = "static" templates = "templates" + +[nav] +nested = true diff --git a/docs/static/style.css b/docs/static/style.css index acfda25..dc100d3 100644 --- a/docs/static/style.css +++ b/docs/static/style.css @@ -94,6 +94,19 @@ body { color: var(--bg); } +.sidebar .nav-children { + margin-left: 1rem; + padding-left: 0.5rem; + border-left: 1px solid var(--border); + display: flex; + flex-direction: column; + gap: 0.25rem; +} + +.sidebar .nav-children a { + font-size: 0.9rem; +} + .sidebar-footer { margin-top: auto; padding-top: 1rem; diff --git a/docs/templates/base.html b/docs/templates/base.html index 3bb63be..f3374ce 100644 --- a/docs/templates/base.html +++ b/docs/templates/base.html @@ -34,8 +34,17 @@