Commits

Anonymous committed 482a377

Add cmember role (#3875).

Comments (0)

Files changed (3)

   - In quickstart, if the selected root path already contains a Sphinx
     project, complain and abort.
 
+  - Added ``cmember`` role for consistency.
+
 
 Release 0.4.2 (Jul 29, 2008)
 ============================

sphinx/environment.py

                 refnode.children = [nodes.Text(newtitle)]
         return newnode
 
-    descroles = frozenset(('data', 'exc', 'func', 'class', 'const', 'attr',
-                           'meth', 'cfunc', 'cdata', 'ctype', 'cmacro', 'obj'))
+    descroles = frozenset(('data', 'exc', 'func', 'class', 'const', 'attr', 'obj',
+                           'meth', 'cfunc', 'cmember', 'cdata', 'ctype', 'cmacro'))
 
     def resolve_references(self, doctree, fromdocname, builder):
         reftarget_roles = set(('token', 'term', 'option'))
     'meth': xfileref_role,
     'obj': xfileref_role,
     'cfunc' : xfileref_role,
+    'cmember': xfileref_role,
     'cdata' : xfileref_role,
     'ctype' : xfileref_role,
     'cmacro' : xfileref_role,