Add review bot tool for doc8
Review Request #9489 — Created Jan. 16, 2018 and submitted
doc8 is a style checker for Sphinx (or other)
RST documentation.doc8 is like flake8 for reStructuredText.
https://pypi.python.org/pypi/doc8
Uploaded a diff an .rst file as review request as saw that
it added some "errors" of this reStructuredText file.Uploaded a "clean" .rst file and saw that it did no
add any errors.
Description | From | Last Updated |
---|---|---|
Thanks for the contribution! Can you flesh out the description more to talk more about what the tool does and … |
|
|
Single quotes. |
|
|
"will not be listed" |
|
|
Can you bullet-proof this a bit, so that if we get some unexpected output, we'll log it and not just … |
|
|
It'd be nice to flesh this out a bit more, talk about what kind of things this looks for, and … |
|
|
"used text files" is weird. Maybe "Encoding used for rst files"? This also needs a period at the end. |
|
|
pass is unnecessary if there's another statement in the block. |
|
|
Reference here should be DOC8_ (which matches with the URL listed as _DOC8 |
|
|
Reference here should be RST_LINT_ We should also use :command:`doc8` instead of ``doc8`` |
|
|
No blank line here. |
|
|
Add a blank line here. |
|
|
Can get rid of the backticks around doc8 here. |
|
|
Please capitalize the first letter of each of these. |
|
|
Please capitalize the first letter of each of these. |
|
|
Like my comment elsewhere, none of the other documents have this, and it doesn't particularly add much value on top … |
|
Change Summary:
doc
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+122) |
Checks run (2 succeeded)
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 3 (+122) |
Checks run (2 succeeded)
-
-
Thanks for the contribution!
Can you flesh out the description more to talk more about what the tool does and what it's checking for, at a high level?
-
-
bot/reviewbot/tools/doc8.py (Diff revision 3) Can you bullet-proof this a bit, so that if we get some unexpected output, we'll log it and not just crash?
-
docs/reviewbot/reviewbot/tools/doc8.rst (Diff revision 3) It'd be nice to flesh this out a bit more, talk about what kind of things this looks for, and also to have a link to the page.
Should also have a section on configuring the tool.
Summary: |
|
||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
||||||||||||||||||||||||
Testing Done: |
|
||||||||||||||||||||||||
Commit: |
|
||||||||||||||||||||||||
Diff: |
Revision 4 (+137) |
Checks run (2 succeeded)
-
-
bot/reviewbot/tools/doc8.py (Diff revision 4) "used text files" is weird. Maybe "Encoding used for rst files"?
This also needs a period at the end.
-
bot/reviewbot/tools/doc8.py (Diff revision 4) pass is unnecessary if there's another statement in the block.
-
docs/reviewbot/reviewbot/tools/doc8.rst (Diff revision 4) Reference here should be
DOC8_
(which matches with the URL listed as_DOC8
-
docs/reviewbot/reviewbot/tools/doc8.rst (Diff revision 4) Reference here should be
RST_LINT_
We should also use
:command:`doc8`
instead of``doc8``
-
-
-
docs/reviewbot/reviewbot/tools/doc8.rst (Diff revision 4) Can get rid of the backticks around doc8 here.
-
docs/reviewbot/reviewbot/tools/doc8.rst (Diff revision 4) Please capitalize the first letter of each of these.
-
docs/reviewbot/reviewbot/tools/doc8.rst (Diff revision 4) Please capitalize the first letter of each of these.
-
docs/reviewbot/reviewbot/tools/doc8.rst (Diff revision 4) Like my comment elsewhere, none of the other documents have this, and it doesn't particularly add much value on top of the UI.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 5 (+129) |
Checks run (2 succeeded)
Change Summary:
rebase
Branch: |
|
||||
---|---|---|---|---|---|
Commit: |
|
||||
Diff: |
Revision 6 (+129) |