Skip to content

Commit

Permalink
Merge pull request #18 from botlabs-gg/hugo/general-housekeeping
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Zeuch <[email protected]>
  • Loading branch information
l-zeuch authored Mar 28, 2024
2 parents f5d4e16 + 6d39a31 commit 729b881
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
19 changes: 7 additions & 12 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ title = 'YAGPDB Documentation v2'
uglyURLs = true

[markup]
[markup.tableOfContents]
# Some relatively important headers, like cc triggers, are on level 4;
# we want to have those in our table of contents, so we need to set this to 4.
endLevel = 4
[markup.goldmark]
[markup.goldmark.renderer]
# Enable HTML tags in Markdown
Expand All @@ -21,18 +25,9 @@ uglyURLs = true

[params]
themeVariant = [
{ identifier = "relearn-auto", name = "Relearn Light/Dark", auto = [] },
{ identifier = "relearn-light" },
{ identifier = "relearn-dark" },
{ identifier = "relearn-bright" },
{ identifier = "zen-auto", name = "Zen Light/Dark", auto = [ "zen-light", "zen-dark" ] },
{ identifier = "zen-light" },
{ identifier = "zen-dark" },
{ identifier = "neon" },
{ identifier = "learn" },
{ identifier = "blue" },
{ identifier = "green" },
{ identifier = "red" }
{ identifier = "zen-auto", name = "Zen Light/Dark", auto = [ "zen-light", "zen-dark" ] },
{ identifier = "zen-light" },
{ identifier = "zen-dark" },
]

collapsibleMenu = true
Expand Down
1 change: 1 addition & 0 deletions layouts/partials/custom-header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<link rel="stylesheet" href="{{ relURL "css/menu.css" }}">
6 changes: 6 additions & 0 deletions static/css/menu.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/* Increase the margin a little bit such that it doesn't look too crowded
* on the menu side bar.
*/
#R-topics {
margin-left: 0.5em;
}

0 comments on commit 729b881

Please sign in to comment.