Skip to content

Commit

Permalink
build: Add mkdocs-minify-html-plugin and upgrade dependencies (#2924)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaharagon committed Mar 5, 2025
1 parent 45d2dae commit 567c184
Show file tree
Hide file tree
Showing 8 changed files with 419 additions and 306 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ mkdocs-macros-plugin = "~=1.0"
jieba = "~=0.42"
mkdocs-rss-plugin = "*"
mkdocs-glightbox = "*"
mkdocs-minify-html-plugin = "*"

[dev-packages]
scour = "~=0.38"
Expand Down
714 changes: 411 additions & 303 deletions Pipfile.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mkdocs.blog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ plugins:
glightbox: {}
tags: {}
search: {}
minify_html: {}
privacy:
enabled: !ENV [BUILD_PRIVACY, true]
offline:
Expand Down
1 change: 1 addition & 0 deletions mkdocs.net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ plugins:
enabled: !ENV [BUILD_PRIVACY, true]
offline:
enabled: !ENV [BUILD_OFFLINE, false]
minify_html: {}
group:
enabled: !ENV [BUILD_INSIDERS, true]
plugins:
Expand Down
1 change: 1 addition & 0 deletions mkdocs.videos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ plugins:
glightbox: {}
tags: {}
search: {}
minify_html: {}
privacy:
enabled: !ENV [BUILD_PRIVACY, true]
offline:
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ plugins:
enabled: !ENV [BUILD_PRIVACY, true]
offline:
enabled: !ENV [BUILD_OFFLINE, false]
minify_html: {}
group:
enabled: !ENV [BUILD_INSIDERS, false]
plugins:
Expand Down
2 changes: 1 addition & 1 deletion modules/mkdocs-material
4 changes: 2 additions & 2 deletions theme/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ <h2>Top discussions this week</h2>
<hr>
<p>Ask questions and get advice from our community of privacy advocates.</p>
</li>
</div>
</ul>
</ul>
</div>
<a href="https://discuss.privacyguides.net/" class="md-button md-button--primary">
Join the forum
</a>
Expand Down

0 comments on commit 567c184

Please sign in to comment.