diff --git a/mkdocs.yml b/mkdocs.yml index 2584d5a4..5a01580a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,9 +4,12 @@ docs_dir: wormhole-docs copyright: 2025 © Wormhole Foundation. All Rights Reserved. edit_uri: https://github.com/wormhole-foundation/wormhole-docs/edit/main/ extra_css: + - assets/stylesheets/extra.css + - assets/stylesheets/home.css - assets/stylesheets/terminal.css - assets/stylesheets/spantable-neoteroi.css - assets/stylesheets/timeline-neoteroi.css + - assets/stylesheets/wormhole.css theme: name: material custom_dir: material-overrides @@ -85,6 +88,16 @@ plugins: - glightbox: skip_classes: - no-lightbox + - minify: + minify_html: true + minify_css: true + css_file: + -assets/stylesheets/extra.css + -assets/stylesheets/home.css + - assets/stylesheets/wormhole.css + - assets/stylesheets/terminal.css + - assets/stylesheets/spantable-neoteroi.css + - assets/stylesheets/timeline-neoteroi.css - redirects: redirect_maps: @@ -327,7 +340,7 @@ extra: link: https://twitter.com/wormhole name: Twitter - icon: fontawesome/brands/discord - link: https://discord.gg/wormholecrypto + link: https://discord.com/invite/wormholecrypto name: Discord - icon: telegram link: https://t.me/wormholecrypto diff --git a/requirements.txt b/requirements.txt index da3c0750..2f93d4b5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,6 +16,7 @@ mkdocs-macros-plugin==0.7.0 mkdocs-macros-test==0.1.0 mkdocs-material==9.5.24 mkdocs-material-extensions==1.3.1 +mkdocs-minify-plugin==0.7.2 mkdocs-redirects==1.2.0 neoteroi-mkdocs==1.1.0 nltk==3.8.1