mirror of
https://github.com/godotengine/doc-status.git
synced 2025-12-31 13:48:23 +03:00
Fix "link text shortening" sed so it doesn't capture the contribution link (#21)
This commit is contained in:
2
build.sh
2
build.sh
@@ -45,7 +45,7 @@ sed -Ei 's:\s([0-9][0-9]?)%:<span class="completion-incomplete" style="--percent
|
||||
sed -Ei 's:100%:<span class="completion-complete">100%</span>:g' content/_index.md
|
||||
|
||||
# Shorten class links' text to decrease the table's width.
|
||||
sed -Ei 's:(https\:.+(class_.+)\.html):[\2](\1):g' content/_index.md
|
||||
sed -Ei 's:(https\:.+classes/(class_.+)\.html):[\2](\1):g' content/_index.md
|
||||
|
||||
# Build the website with optimizations enabled.
|
||||
hugo --minify
|
||||
|
||||
Reference in New Issue
Block a user