Add failling test cases for sphinx 1.3 autodoc output

This commit is contained in:
Anthony Johnson 2015-04-22 13:39:19 -07:00
parent af82c93686
commit e1fd710530
3 changed files with 12 additions and 8 deletions

7
demo_docs/source/api.rst Normal file
View File

@ -0,0 +1,7 @@
:mod:`test_py_module`
=====================
.. automodule:: test_py_module.test
:members:
:private-members:
:special-members:

View File

@ -24,6 +24,7 @@ Contents:
:caption: This is an incredibly long caption for a long menu :caption: This is an incredibly long caption for a long menu
long long
api
Maaaaath! Maaaaath!
========= =========
@ -57,14 +58,6 @@ Giant tables
| body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 | | body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 |
+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+ +------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+
API Test
========
.. automodule:: test_py_module.test
:members:
:private-members:
:special-members:
Optional parameter args Optional parameter args
----------------------- -----------------------

View File

@ -26,6 +26,10 @@ class Foo:
print(myclass) print(myclass)
Here is a link to :py:meth:`capitalize`.
Here is a link to :py:meth:`__init__`.
""" """
#: Doc comment for class attribute Foo.bar. #: Doc comment for class attribute Foo.bar.