Skip to content

Commit 567c184

Browse files
committed
build: Add mkdocs-minify-html-plugin and upgrade dependencies (#2924)
1 parent 45d2dae commit 567c184

File tree

8 files changed

+419
-306
lines changed

8 files changed

+419
-306
lines changed

Pipfile

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ mkdocs-macros-plugin = "~=1.0"
3131
jieba = "~=0.42"
3232
mkdocs-rss-plugin = "*"
3333
mkdocs-glightbox = "*"
34+
mkdocs-minify-html-plugin = "*"
3435

3536
[dev-packages]
3637
scour = "~=0.38"

Pipfile.lock

+411-303
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mkdocs.blog.yml

+1
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ plugins:
155155
glightbox: {}
156156
tags: {}
157157
search: {}
158+
minify_html: {}
158159
privacy:
159160
enabled: !ENV [BUILD_PRIVACY, true]
160161
offline:

mkdocs.net.yml

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ plugins:
129129
enabled: !ENV [BUILD_PRIVACY, true]
130130
offline:
131131
enabled: !ENV [BUILD_OFFLINE, false]
132+
minify_html: {}
132133
group:
133134
enabled: !ENV [BUILD_INSIDERS, true]
134135
plugins:

mkdocs.videos.yml

+1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ plugins:
147147
glightbox: {}
148148
tags: {}
149149
search: {}
150+
minify_html: {}
150151
privacy:
151152
enabled: !ENV [BUILD_PRIVACY, true]
152153
offline:

mkdocs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ plugins:
305305
enabled: !ENV [BUILD_PRIVACY, true]
306306
offline:
307307
enabled: !ENV [BUILD_OFFLINE, false]
308+
minify_html: {}
308309
group:
309310
enabled: !ENV [BUILD_INSIDERS, false]
310311
plugins:

modules/mkdocs-material

theme/home.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ <h2>Top discussions this week</h2>
7878
<hr>
7979
<p>Ask questions and get advice from our community of privacy advocates.</p>
8080
</li>
81-
</div>
82-
</ul>
81+
</ul>
82+
</div>
8383
<a href="https://discuss.privacyguides.net/" class="md-button md-button--primary">
8484
Join the forum
8585
</a>

0 commit comments

Comments
 (0)