Skip to content

Commit

Permalink
docs: fix sidebar not opening / add catpuccin theme
Browse files Browse the repository at this point in the history
Overridden CSS files had to be udpdated to newer versions.
  • Loading branch information
dr460nf1r3 committed May 9, 2024
1 parent 55cad75 commit cb576b1
Show file tree
Hide file tree
Showing 9 changed files with 2,222 additions and 17 deletions.
5 changes: 3 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.github/**
flake.lock
docker-compose/**
secrets/**
docs/theme/index.hbs
flake.lock
secrets/**
19 changes: 16 additions & 3 deletions docs/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,21 @@ src = "src"
title = "Garuda's infra documentation"

[output.html]
additional-css = ["theme/css/custom.css"]
default-theme = "navy"
additional-css = ["./mdbook-admonish.css", "theme/css/custom.css", "./theme/catppuccin.css", "./theme/catppuccin-admonish.css"]
default-theme = "mocha"
preferred-dark-theme = "mocha"
git-repository-icon = "fa-code-fork"
git-repository-url = "https://github.com/garuda-linux/infrastructure-nix"
site-url = "https://docs.garudalinux.net"
site-url = "https://docs.garudalinux.net"

[preprocessor]

[preprocessor.admonish]
after = ["links"]
command = "mdbook-admonish"
assets_version = "3.0.2" # do not edit: managed by `mdbook-admonish install`

[preprocessor.catppuccin]
assets_version = "2.1.0" # DO NOT EDIT: Managed by `mdbook-catppuccin install`

[preprocessor.emojicodes]
Loading

0 comments on commit cb576b1

Please sign in to comment.