mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
A bit more testing for autodoc.
This commit is contained in:
1
TODO
1
TODO
@@ -5,7 +5,6 @@ Sphinx TODO
|
||||
- RSS generation
|
||||
- extension autodoc directives
|
||||
- files for downloading
|
||||
- specify node visit functions when adding nodes to app
|
||||
- decide which static files to include
|
||||
- remove redundant <ul>s in tocs
|
||||
- autoattribute in autodoc
|
||||
|
||||
@@ -14,6 +14,7 @@ Contents:
|
||||
includes
|
||||
markup
|
||||
math
|
||||
autodoc
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
@@ -373,3 +373,9 @@ class Class(Base):
|
||||
|
||||
class CustomDict(dict):
|
||||
"""Docstring."""
|
||||
|
||||
def function(foo, *args, **kwds):
|
||||
"""
|
||||
Return spam.
|
||||
"""
|
||||
pass
|
||||
|
||||
@@ -49,6 +49,11 @@ HTML_XPATH = {
|
||||
".//pre/span[@class='s']": u'üöä',
|
||||
".//pre": u'Max Strauß',
|
||||
},
|
||||
'autodoc.html': {
|
||||
".//dt[@id='test_autodoc.Class']": '',
|
||||
".//dt[@id='test_autodoc.function']/em": '**kwds',
|
||||
".//dd": 'Return spam.',
|
||||
},
|
||||
}
|
||||
|
||||
class NslessParser(ET.XMLParser):
|
||||
|
||||
Reference in New Issue
Block a user