code-block doesn't recognize 'caption' option

Bug #1716744 reported by JP Senior
6
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.