mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-20 11:28:17 +00:00
docs: install gelatyx earlier
This commit is contained in:
+4
-3
@@ -4,6 +4,10 @@ tracked_markdown=$(mktemp)
|
||||
trap "rm ${tracked_markdown}" "EXIT"
|
||||
git ls-tree -r HEAD --name-only docs | egrep '\.(markdown|md)$' > $tracked_markdown
|
||||
|
||||
if ! hash gelatyx 2>/dev/null ; then
|
||||
cargo install gelatyx --locked
|
||||
fi
|
||||
|
||||
gelatyx --language lua --file-list $tracked_markdown --language-config stylua.toml
|
||||
gelatyx --language lua --file-list $tracked_markdown --language-config stylua.toml --check || exit 1
|
||||
|
||||
@@ -20,9 +24,6 @@ fi
|
||||
if ! hash mdbook-mermaid 2>/dev/null ; then
|
||||
cargo install mdbook-mermaid --locked
|
||||
fi
|
||||
if ! hash gelatyx 2>/dev/null ; then
|
||||
cargo install gelatyx --locked
|
||||
fi
|
||||
|
||||
mdbook-mermaid install docs
|
||||
mdbook build docs
|
||||
|
||||
Reference in New Issue
Block a user