hurl/docs
Martin Stααel 6e6175800e
Spelling correction
Spelling correction
2025-09-18 13:05:09 +10:00
..
assets Update poster for Hurl demo. 2024-08-09 13:11:18 +02:00
manual Add --no-pretty command line flag. 2025-08-29 14:47:36 +02:00
spec Add utf8Encode and utf8Decode filter to grammar. 2025-09-17 18:23:11 +02:00
standalone Update standalone links. 2025-07-28 13:31:11 +02:00
tutorial Hide deprecated interactive option from help and manual. 2025-07-21 13:43:49 +02:00
README.md Update README for docs and add script for updating all docs. 2025-05-20 11:09:23 +02:00
asserting-response.md Update docs on Content-Encoding not affecting captures. 2025-07-29 08:50:23 +02:00
capturing-response.md Update docs on Content-Encoding not affecting captures. 2025-07-29 08:50:23 +02:00
entry.md Fix doc typo. 2025-07-10 22:09:08 +02:00
filters.md deprecate `format` for `dateFormat` 2025-08-24 09:42:59 +00:00
frequently-asked-questions.md Use PUT instead of POST as --data implies making a POST request. 2024-12-15 19:55:32 +00:00
grammar.md Add utf8Encode and utf8Decode filter to grammar. 2025-09-17 18:23:11 +02:00
home.md Update standalone links. 2025-07-28 13:31:11 +02:00
hurl-file.md Spelling correction 2025-09-18 13:05:09 +10:00
index.md Rename manual-page.md to manual.md 2022-09-02 15:39:24 +02:00
installation.md Create 7.0.0 release 2025-07-30 12:05:41 +00:00
license.md Add licence.md in docs. 2022-06-05 17:33:06 +02:00
manual.md Add --no-pretty command line flag. 2025-08-29 14:47:36 +02:00
request.md Add option to configure max-time per request 2025-05-18 15:01:19 +00:00
response.md Fix typo CloudFlare/Cloudflare. 2025-06-13 12:05:29 +00:00
running-tests.md Update docs. 2024-08-22 13:03:44 +02:00
samples.md Update sample with redirects query. 2025-07-02 21:32:22 +02:00
templates.md Update doc for 6.1.0 2025-03-07 17:59:46 +01:00

README.md

Hurl Documentation

This directory is the canonical source for Hurl documentation. The site https://hurl.dev, powered by Jekyll, is generated from it. If you want to modify https://hurl.dev, you can make a PR in this repo.

[!TIP] TLDR To update all docs:

$ bin/docs/update_all.sh

Documentation Generation

Some files are dependent and needs to be generated appropriated.

  • docs/spec/options/**/*.option: define the command line option of hurl and hurlfmt. These are text declarative files that will update project files (Rust files to produce the output of --help, Rust file options etc..., shell completion script etc...). These files are also used to generate part of man files docs/manual/hurl.md, docs/manual/hurlfmt.md
  • docs/manual/hurl.md/docs/manual/hurlfmt.md: Markdown source files of man pages hurl.1``hurlfmt.1
  • README.md / packages/hurl/README.md, / packages/hurlfmt/README.md: GitHub and https://crates.io READMEs. These files are entirely generated from previous files (.options files, .md manual)

Options

Hurl options files describes each option of hurl and hurlfmt. They're used to generated various files of the project.

Manual Page

The canonical source for the Hurl manual pages is at https://github.com/Orange-OpenSource/hurl/tree/master/docs/manual. The markdown files hurl.md and hurlfmt.md are used :

Dependencies:

docs/manual/hurl.md => docs/manual/hurl.1
docs/manual/hurl.md => docs/manual.md

docs/manual/hurlfmt.md => docs/manual/hurlfmt.1

READMEs

GitHub README and crates.io README are generated from the canonical docs.

Dependencies:

docs/*.md => README.md
docs/*.md => packages/hurl/README.md

Scripts to update manual and READMEs

  1. generate manual
  2. generate <hurl.dev> manual
  3. generate GitHub README
  4. generate crates.io README
$ cd ..
$ 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/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 crates > packages/hurl/README.md