diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-07-16 04:18:00 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-07-16 04:18:00 +0000 |
commit | 08063f6d7241817cf1a04367be25b0c43202c15b (patch) | |
tree | e854426e46d280001804078a97907e119532ca2a | |
parent | 6ed60f68f669b2997a1befd1a5b739aded3ae709 (diff) | |
parent | 5b75c9af8a8c0c987f62d2231d6bedb2f4e08fa9 (diff) | |
download | subplot-08063f6d7241817cf1a04367be25b0c43202c15b.tar.gz |
Merge branch 'main' into 'main'
Mostly just fixing typos
See merge request subplot/subplot!187
-rw-r--r-- | subplot.md | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -756,7 +756,7 @@ accessed using another function: - `cap_get key` -Similarly, there's a dict for embedded data files: +Similarly, there's a dict for the contents of embedded data files: - `files_get filename` @@ -824,7 +824,7 @@ current state of the context, and each capture from a step as a keyword argument. The keyword argument name is the same as the capture name in the pattern in the bindings file. -Embedded files are accessed using a function: +The contents of embedded files are accessed using a function: - `get_file(filename)` @@ -1104,7 +1104,7 @@ then bar was done A binding can define a cleanup function, which gets called at the end of the scenario in reverse order for the successful steps. If a step fails, all the cleanups for the successful steps are still called. We -test this for every language templat we support. +test this for every language template we support. ~~~{#cleanup.yaml .file .yaml .numberLines} - given: foo @@ -2007,8 +2007,8 @@ then bar was done ~~~{#f.sh .file .bash .numberLines} precond_foo() { - ctx_set bar_none 0 - ctx_set foobar_none 0 + ctx_set bar_done 0 + ctx_set foobar_done 0 } do_bar() { @@ -2043,7 +2043,7 @@ to cater to different use cases: - some people would prefer a `git describe` or similar method for indicating the document revision, so Subplot allows the date to be specified via the command line -* a finished, reviewed, officiall stamped document needs a fixed date +* a finished, reviewed, officially stamped document needs a fixed date - Subplot allows this to be written as the `date` metadata field The rules for what Subplot uses as the date or document revision @@ -2135,7 +2135,7 @@ missing file. ~~~scenario given file missing-binding.md and an installed subplot -when I try to run subplot docgen missing-binding.md -o foo.htmlh +when I try to run subplot docgen missing-binding.md -o foo.html then command fails and stderr contains ": missing-binding.yaml:" ~~~ @@ -2736,7 +2736,7 @@ Alice <-- Bob: Another authentication Response ### Roadmap Subplot supports visual roadmaps using a YAML based markup language, -implemnted by the [roadmap][] Rust library. The library converts the +implemented by the [roadmap][] Rust library. The library converts the roadmap into dot, and that gets rendered as SVG and embedded in the output document by Subplot. |