Enable minification when building the website for deployment

This commit is contained in:
Hugo Locurcio 2020-02-26 22:50:38 +01:00
parent a5061e9694
commit 128624ca4a
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ EOF
# Trim the first line of the output to get a valid Markdown table.
python3 "$TMP/doc/tools/doc_status.py" -u "$TMP/doc/classes" | tail -n +2 >> content/_index.md
# Build the website.
hugo
# Build the website with optimizations enabled.
hugo --minify
rm -rf "$TMP"