-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NEW: sphinx+autodoc - proof of concept
Note that this only makes sense with the namespace_fixup branch of mdp.
- Loading branch information
Showing
11 changed files
with
110 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import sys | ||
|
||
def do_not_skip(app, what, name, obj, skip, options): | ||
ret = skip | ||
if name.startswith('_') and not name.startswith('__'): | ||
ret = False | ||
#print "autodoc-skip-member", name, skip, '->', ret | ||
return ret | ||
|
||
def setup(app): | ||
app.connect('autodoc-skip-member', do_not_skip) | ||
return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
BiMDP module | ||
============ | ||
|
||
.. automodule:: bimdp | ||
:members: | ||
:undoc-members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.. _api: | ||
|
||
API documentation | ||
================= | ||
|
||
.. toctree:: | ||
|
||
mdp/index | ||
bimdp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
module mdp.graph | ||
================ | ||
|
||
.. automodule:: mdp.graph | ||
:members: | ||
:undoc-members: | ||
:inherited-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
======================= | ||
module mdp.helper_funcs | ||
======================= | ||
|
||
.. automodule:: mdp.helper_funcs | ||
:members: | ||
:undoc-members: | ||
:inherited-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
module mdp.hinet | ||
================ | ||
|
||
.. automodule:: mdp.hinet | ||
:members: | ||
:undoc-members: | ||
:inherited-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
package mdp | ||
=========== | ||
|
||
.. toctree:: | ||
|
||
nodes | ||
graph | ||
parallel | ||
hinet | ||
utils | ||
helper_funcs | ||
|
||
.. automodule:: mdp | ||
:members: | ||
:undoc-members: | ||
:inherited-members: | ||
:show-inheritance: | ||
|
||
Individual nodes are in :doc:`nodes` | ||
|
||
.. numx | ||
.. numx_fft | ||
.. numx_linalg | ||
.. numx_rand |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
================ | ||
module mdp.nodes | ||
================ | ||
|
||
.. contents:: | ||
|
||
.. automodule:: mdp.nodes | ||
:members: | ||
:undoc-members: | ||
:inherited-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
module mdp.parallel | ||
=================== | ||
|
||
.. automodule:: mdp.parallel | ||
:members: | ||
:undoc-members: | ||
:inherited-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
module mdp.utils | ||
================ | ||
|
||
.. .. automodule:: mdp.utils | ||
.. :members: | ||
.. :undoc-members: | ||
.. :inherited-members: | ||
.. :show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters