updating docs to explain task yaml format. Fixes T157
ClosedPublic

Authored by tflink on May 9 2014, 5:20 AM.

Details

Summary

initial docs for task yaml format

Test Plan

just docs, no test plan needed. just review

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped
kparal requested changes to this revision.May 9 2014, 11:21 AM

Thanks, looking good. A few fixes needed.

docs/source/taskyaml.rst
109–114

Two problems:

  1. When I read this in html, I wasn't able to understand the "a:" word. It's clear here in the source, but the italicized colon is very unclear in html (and if you intended to make it a monospaced instead of italicized, it's not better) . I think it's best to write "colon" instead of ":".
  2. Even though I know what it is about, I had a hard time to understand it. Can we make it simpler and include an example? For example:
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.

tflink updated this revision.May 9 2014, 1:32 PM
  • updating taskyaml docs to address concerns from review
kparal accepted this revision.May 9 2014, 2:32 PM

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.

tflink closed this revision.May 9 2014, 2:38 PM

Closed by commit rLTRN8bfc6db62315 (authored by @tflink).