Lots of doc cleanup that isn't directly related to T159 but needed to be done
Details
Diff Detail
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Overall looks great - just noticed some literary changes to make before pushing.
Sorry I didn't catch these earlier :-/
docs/source/writingtasks.rst | ||
---|---|---|
81 | "... that you keep limit..." needs to read either "keep" or "limit." | |
109 | This sounds a little off. Perhaps, "Download rpms included in the bodhi_id argument" |
There are some small things I'd adjust, but apart from that, thanks for great work. Once you fix some of those issues, or decide not to fix them, please push the patch. Thanks.
docs/source/index.rst | ||
---|---|---|
92 | This should be ``foo-1.2-3.fc99`` Single backquotes are undefined in reST; in Sphinx they are used for an inline default role. | |
docs/source/taskyaml.rst | ||
177 | Should T142 be a link? | |
185–186 | All of these are directives, but only some of them are called that in the section title. That's a bit confusing. Maybe remove the "directive" word and leave it just as "bodhi" and "dummy"? If we do that, "bodhi comment" would move under "bodhi" description. | |
188 | In this case (first introduction), I think we should provide a link: `Bodhi <https://admin.fedoraproject.org/updates/>`_ | |
205 | Again, I'd provide a link to Koji. | |
228–229 | And a link to ResultsDB, either our instance or a project page. | |
docs/source/writingtasks.rst | ||
122 | %s calls str(), AFAIK. Not needed to call it twice. | |
139 | I wasn't immediately clear what "under python" means. Probably better to use under "python:". | |
206 | Again, str not needed IMO. More of that below. | |
224 | rpmfile is not defined at this point. Or have I overlooked something? |
replied to some of the comments, will update the diff shortly
docs/source/taskyaml.rst | ||
---|---|---|
177 | it could be, sure but that's a non-rendered comment. anyone reading that and especially anyone capable of fixing it should know how to find T142 | |
185–186 | that's what I get for pasting stuff without reading it closely :-/ the bodhi directive and the bodhi_comment directive are 2 different things, though so I don't think combining them is a good idea | |
docs/source/writingtasks.rst | ||
122 | that's a habit I've gotten into after having been bitten too many times by expecting automagical-ness when passing a tuple or a list into string formatting. I don't see any harm in leaving it there - while bodhi_id isn't a list or tuple in this case, I'd argue it's not harming anything | |
224 | it's a parameter for the function. the code should run with libtaskotron - it hits bugs that make the output a garbled mess but it runs as well as it can |
- updates for comments from review, cleaning up improper monospace syntax for sphinx, some other cleanup and clarifications
Updated rendered docs at http://tflink.fedorapeople.org/taskotron/initial-taskotron-docs/
Everything looks good, but I would add the links to koji and resultsdb @kparal noted.
Everything looks good, but I would add the links to koji and resultsdb @kparal noted.
I don't understand - what needs to be changed about the links that have already been added?
NVM - refreshing the page didn't update to the lastest diff for me. Apologies. Looks good :)
docs/source/writingtasks.rst | ||
---|---|---|
122 | Oh wow, a tuple really breaks it (a list works fine, though)! I didn't know: >>> a = (1,2) >>> print 'foo %s' % a Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: not all arguments converted during string formatting >>> print 'foo %s' % (a,) foo (1, 2) Interesting. | |
224 | No, rpmfiles is a parameter for the function. rpmfile is undefined. I still think this should crash. |
This should be
Single backquotes are undefined in reST; in Sphinx they are used for an inline default role.