Closed nvtkaszpir closed 6 years ago
Unfortunately, we don't support Sphinx directives. Explanation and workarounds explained here:
https://github.com/twolfson/restructuredtext-lint/tree/1.1.3#sphinx
doc8
should be added as a workaround, https://pypi.org/project/doc8/
Sphinx-doc code-block supports
emphasize-lines
, but restructuredtext-lint returns error in that case:Example code:
Expected output: no error. Actual output:
Error in "code-block" directive: unknown option: "emphasize-lines".
Reference: http://www.sphinx-doc.org/en/stable/markup/code.html
requirements.txt
PS: doc8 also fails on this.