From 26bee39693dbc838bf04f5f3fe73edbda0d2fa45 Mon Sep 17 00:00:00 2001 From: Byson94 Date: Mon, 25 Aug 2025 17:34:15 +0530 Subject: [PATCH] feat: replaced default theme with catuppuccin --- .github/workflows/gh-pages.yml | 2 +- docs/.gitignore | 1 + docs/book.toml | 7 +- docs/book/404.html | 147 ++- docs/book/book.js | 703 +++++++++------ docs/book/config/config_and_syntax.html | 151 ++-- docs/book/config/config_fundamentals.html | 151 ++-- docs/book/config/configuration.html | 151 ++-- docs/book/config/expression_language.html | 151 ++-- .../config/rendering_and_best_practices.html | 151 ++-- docs/book/config/variables.html | 151 ++-- docs/book/css/chrome.css | 350 ++++++-- docs/book/css/general.css | 214 +++-- docs/book/css/print.css | 10 +- docs/book/css/variables.css | 90 +- docs/book/examples/examples.html | 151 ++-- docs/book/examples/interactive.html | 151 ++-- docs/book/examples/starter_bar.html | 151 ++-- docs/book/examples/theming.html | 151 ++-- docs/book/getting_started.html | 151 ++-- docs/book/highlight.css | 2 +- docs/book/highlight.js | 720 ++------------- docs/book/index.html | 151 ++-- docs/book/installation.html | 151 ++-- docs/book/introduction.html | 151 ++-- docs/book/modules/apilib.html | 159 ++-- docs/book/modules/modules.html | 151 ++-- docs/book/modules/stdlib.html | 174 ++-- docs/book/modules/user_defined.html | 151 ++-- docs/book/print.html | 201 +++-- docs/book/searchindex.js | 2 +- docs/book/statictranspl.html | 161 ++-- docs/book/theming/styling_widgets.html | 151 ++-- docs/book/theming/theming_and_ui.html | 151 ++-- docs/book/theming/working_with_gtk.html | 151 ++-- docs/book/toc.html | 3 +- docs/book/troubleshooting.html | 147 ++- docs/book/widgets/props.html | 156 ++-- docs/book/widgets/widgets.html | 151 ++-- docs/book/widgets/widgets_and_params.html | 151 ++-- docs/theme/book.js | 660 -------------- docs/theme/catppuccin.css | 844 ++++++++++++++++++ docs/theme/css/chrome.css | 495 ---------- docs/theme/css/general.css | 220 ----- docs/theme/css/print.css | 54 -- docs/theme/css/variables.css | 253 ------ docs/theme/favicon.png | Bin 5679 -> 0 bytes docs/theme/favicon.svg | 22 - docs/theme/highlight.css | 83 -- docs/theme/highlight.js | 668 -------------- docs/theme/index.hbs | 202 +++-- 51 files changed, 4886 insertions(+), 5035 deletions(-) create mode 100644 docs/.gitignore delete mode 100644 docs/theme/book.js create mode 100644 docs/theme/catppuccin.css delete mode 100644 docs/theme/css/chrome.css delete mode 100644 docs/theme/css/general.css delete mode 100644 docs/theme/css/print.css delete mode 100644 docs/theme/css/variables.css delete mode 100644 docs/theme/favicon.png delete mode 100644 docs/theme/favicon.svg delete mode 100644 docs/theme/highlight.css delete mode 100644 docs/theme/highlight.js 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 @@ - - - + + + + + + + + + - - - +
+
+

Keyboard shortcuts

+
+

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

+
+
+
+
- - + + -
-