Update update_all documentation script.

This commit is contained in:
Jean-Christophe Amiel 2025-11-21 13:53:12 +01:00
parent 2ff0257dd4
commit 0f65955d51
No known key found for this signature in database
GPG Key ID: 07FF11CFD55356CC
2 changed files with 6472 additions and 1 deletions

View File

@ -4,9 +4,14 @@ set -Eeuo pipefail
# First generates Rust code, bash completion, part of hurl.md and hurlfmt.md # First generates Rust code, bash completion, part of hurl.md and hurlfmt.md
python3 bin/spec/options/generate_all.py python3 bin/spec/options/generate_all.py
# Regenerates manual, READMEs etc.. # Generates manual, READMEs etc..
python3 bin/release/gen_manpage.py docs/manual/hurl.md > docs/manual/hurl.1 python3 bin/release/gen_manpage.py docs/manual/hurl.md > docs/manual/hurl.1
python3 bin/release/gen_manpage.py docs/manual/hurlfmt.md > docs/manual/hurlfmt.1 python3 bin/release/gen_manpage.py docs/manual/hurlfmt.md > docs/manual/hurlfmt.1
python3 bin/docs/build_man_md.py docs/manual/hurl.md > docs/manual.md python3 bin/docs/build_man_md.py docs/manual/hurl.md > docs/manual.md
python3 bin/docs/build_readme.py github > README.md python3 bin/docs/build_readme.py github > README.md
python3 bin/docs/build_readme.py crates > packages/hurl/README.md python3 bin/docs/build_readme.py crates > packages/hurl/README.md
# Generates standalone doc
VERSION="$(grep '^version' packages/hurl/Cargo.toml | cut -f2 -d'"')"
VERSION=${VERSION%-SNAPSHOT}
python3 bin/docs/build_standalone_md.py > docs/standalone/hurl-"$VERSION".md

File diff suppressed because it is too large Load Diff