Fade out `0/0` completion ratios as there's nothing to document

This makes the table easier to read.
This commit is contained in:
Hugo Locurcio 2020-06-15 21:22:06 +02:00
parent ccfb913f31
commit 2aaeeef21b
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
2 changed files with 7 additions and 0 deletions

View File

@ -24,6 +24,10 @@ EOF
# Ensure that module documentation is also included in the report.
python3 "$TMP/doc/tools/doc_status.py" -u "$TMP/doc/classes" "$TMP"/modules/*/doc_classes | tail -n +2 >> content/_index.md
# Fade out `0/0` completion ratios as they can't be completed (there's nothing
# to document).
sed -i 's:0/0:<span style="opacity\: 0.5">0/0</span>:g' content/_index.md
# Build the website with optimizations enabled.
hugo --minify

View File

@ -4,3 +4,6 @@ title = "Godot class reference status"
# This is a single-page website, no need to generate a sitemap and RSS feed.
disableKinds = ["sitemap", "RSS", "taxonomyTerm"]
[markup.goldmark.renderer]
unsafe = true