mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Add failling test cases for sphinx 1.3 autodoc output
This commit is contained in:
parent
af82c93686
commit
e1fd710530
7
demo_docs/source/api.rst
Normal file
7
demo_docs/source/api.rst
Normal file
|
@ -0,0 +1,7 @@
|
|||
:mod:`test_py_module`
|
||||
=====================
|
||||
|
||||
.. automodule:: test_py_module.test
|
||||
:members:
|
||||
:private-members:
|
||||
:special-members:
|
|
@ -24,6 +24,7 @@ Contents:
|
|||
:caption: This is an incredibly long caption for a long menu
|
||||
|
||||
long
|
||||
api
|
||||
|
||||
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 |
|
||||
+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+
|
||||
|
||||
API Test
|
||||
========
|
||||
|
||||
.. automodule:: test_py_module.test
|
||||
:members:
|
||||
:private-members:
|
||||
:special-members:
|
||||
|
||||
Optional parameter args
|
||||
-----------------------
|
||||
|
||||
|
|
|
@ -26,6 +26,10 @@ class Foo:
|
|||
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user