From 2aaeeef21bb62a7b0e04032c8df3060dd6159773 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 15 Jun 2020 21:22:06 +0200 Subject: [PATCH] Fade out `0/0` completion ratios as there's nothing to document This makes the table easier to read. --- build.sh | 4 ++++ config.toml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/build.sh b/build.sh index 0f3a130..fe22416 100755 --- a/build.sh +++ b/build.sh @@ -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:0/0:g' content/_index.md + # Build the website with optimizations enabled. hugo --minify diff --git a/config.toml b/config.toml index 2045c40..4945206 100644 --- a/config.toml +++ b/config.toml @@ -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