initial docs for task yaml format
Details
- Reviewers
kparal roshi - Maniphest Tasks
- T157: write taskyaml documentation
- Commits
- rLTRN8bfc6db62315: updating docs to explain task yaml format. Fixes T157
just docs, no test plan needed. just review
Diff Detail
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Thanks, looking good. A few fixes needed.
docs/source/taskyaml.rst | ||
---|---|---|
109–114 | Two problems:
Important: If your variable is directly following a colon, surround it in quotes so that the yaml parser interprets it as a string. Right: `arg1: "{{ var1 }}"` . Wrong: `arg1: {{ var1 }}`. | |
142–149 | I guess the export value should be called firststep_output, because it is then consumed by second step. | |
151–153 | The names of directives and exports don't match the example. |
Looks good.
docs/source/taskyaml.rst | ||
---|---|---|
159–161 | When reading it again, maybe the second sentence is not necessary at all. Everything important has been described in the first one. But that's just a side note. |
Two problems: