diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 6a977eb..6c6eeda 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -22,7 +22,7 @@ jobs: - name: build mdBook page uses: peaceiris/actions-mdbook@v1 with: - mdbook-version: "0.4.8" + mdbook-version: "0.4.52" - run: mdbook build docs - name: Deploy diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 0000000..e9c0728 --- /dev/null +++ b/docs/.gitignore @@ -0,0 +1 @@ +book \ No newline at end of file diff --git a/docs/book.toml b/docs/book.toml index ab868b1..d0baded 100644 --- a/docs/book.toml +++ b/docs/book.toml @@ -6,7 +6,8 @@ src = "src" title = "Ewwii documentation" [output.html] -default-theme = "navy" +default-theme = "latte" +preferred-dark-theme = "macchiato" git-repository-url = "https://github.com/Ewwii-sh/ewwii" -site-url = "/" -additional-js = ["js/home_button.js"] \ No newline at end of file +additional-js = ["js/home_button.js"] +additional-css = ["./theme/catppuccin.css"] \ No newline at end of file diff --git a/docs/book/404.html b/docs/book/404.html index c162c10..cf12f8e 100644 --- a/docs/book/404.html +++ b/docs/book/404.html @@ -1,5 +1,5 @@ - +
@@ -9,10 +9,9 @@ - - + @@ -26,25 +25,42 @@ - - - + + + + + + + + + - - - +Press ← or → to navigate between chapters
+Press S or / to search in the book
+Press ? to show this help
+Press Esc to hide this help
+