Skip to content

Commit

Permalink
fix: minimize website html during build (#1744)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Butler <[email protected]>
  • Loading branch information
butler54 authored Nov 8, 2024
1 parent 67196db commit 324121f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ plugins:
- '!^__json'
- '!^__config__'
new_path_syntax: true
- minify:
minify_html: true
minify_js: false
minify_css: true
css_files:
- css/mkdocstrings.css
htmlmin_opts:
remove_comments: true
repo_name: oscal-compass/compliance-trestle
repo_url: https://github.com/oscal-compass/compliance-trestle
site_description: Documentation for compliance-trestle package.
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ dev =
mkdocs-htmlproofer-plugin
mkdocs-material
markdown-include
mkdocs-minify-plugin
mkdocs-git-revision-date-localized-plugin
pymdown-extensions
livereload
Expand Down

0 comments on commit 324121f

Please sign in to comment.