Skip to content

Commit

Permalink
Add some autodoc'ing.
Browse files Browse the repository at this point in the history
This does not work as desired but might be a helpful starting point for
  • Loading branch information
drvinceknight committed May 13, 2017
1 parent 7658a17 commit b2bc341
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import sys
sys.path.insert(0, os.path.abspath('../src/'))
import conference_scheduler.scheduler

# -- General configuration ------------------------------------------------

Expand All @@ -31,6 +32,7 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.mathjax',
'sphinx.ext.todo'
]
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Contents:
tutorial/index.rst
howto/index.rst
background/index.rst
reference/index.rst



Expand Down
8 changes: 8 additions & 0 deletions docs/reference/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Reference
=========

.. toctree::
:maxdepth: 2

.. automodule:: conference_scheduler.scheduler
:members:

0 comments on commit b2bc341

Please sign in to comment.