code-block doesn't recognize 'caption' option
Bug #1716744 reported by
JP Senior
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
doc8 |
New
|
Undecided
|
Unassigned |
Bug Description
When using doc8 and validating RST files, this syntax is throwing a D000 error for 'code-block' directives:
.. code-block:: text
:caption: Example caption
some text here
Where this directive does not throw an error:
.. code-block:: text
some text here
To post a comment you must log in.