Skip to content

Commit

Permalink
Minify HTML & CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaharagon committed May 28, 2022
1 parent 547ed4c commit fdb6557
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 10 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ mkdocs-material = {path = "./mkdocs-material"}
mkdocs-static-i18n = "*"
mkdocs-git-revision-date-localized-plugin = "*"
typing-extensions = "*"
mkdocs-minify-plugin = "*"

[dev-packages]
scour = "*"
Expand Down
46 changes: 36 additions & 10 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ watch:
- includes

plugins:
- minify:
minify_html: true
minify_css: true
css_files:
- assets/stylesheets/extra.css
- i18n:
default_language: en
material_alternate: true
Expand Down

0 comments on commit fdb6557

Please sign in to comment.