code-block does not recognize emphasis-lines option

Bug #1735779 reported by Doug Goldstein
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
doc8
New
Undecided
Unassigned

Bug Description

When using doc8 and validating RST files that have the emphasis-lines option per the docs at http://www.sphinx-doc.org/en/stable/markup/code.html this syntax is throwing a D000 error for 'code-block' directives:

.. code-block:: text
   :emphasize-lines: 2,3

   some text here
   some text here
   some text here
   some text here

Where this directive does not throw an error:

.. code-block:: text

   some text here
   some text here
   some text here
   some text here

Revision history for this message
ioggstream (rpolli) wrote :

The bug is in the `docutils` dependency. That package is on sourceforge and the GH mirror is out-of-sync since ages.

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.