Anonymous avatar Anonymous committed 0c3fd41

Don't disable alphabetical and roman lists anymore.

Comments (0)

Files changed (3)

 
   - Added ``cmember`` role for consistency.
 
+  - Lists enumerated by letters or roman numerals are now handled like in
+    standard reST.
+
 * HTML output and templates:
 
   - Incompatible change: The "root" relation link (top left in the
    #. This is a numbered list.
    #. It has two items too.
 
-Note that Sphinx disables the use of enumerated lists introduced by alphabetic
-or roman numerals, such as ::
-
-   A. First item
-   B. Second item
-
 
 Nested lists are possible, but be aware that they must be separated from the
 parent list items by blank lines::

sphinx/environment.py

 from docutils.transforms import Transform
 from docutils.transforms.parts import ContentsFilter
 
-# monkey-patch reST parser to disable alphabetic and roman enumerated lists
-from docutils.parsers.rst.states import Body
-Body.enum.converters['loweralpha'] = \
-    Body.enum.converters['upperalpha'] = \
-    Body.enum.converters['lowerroman'] = \
-    Body.enum.converters['upperroman'] = lambda x: None
-
 from sphinx import addnodes
 from sphinx.util import get_matching_docs, SEP
 from sphinx.directives import additional_xref_types
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.