Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jburos committed Jan 13, 2017
1 parent 75d5da6 commit 8b554a6
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
'sphinx.ext.mathjax',
'sphinx.ext.viewcode',
'sphinx.ext.githubpages',
'nbsphinx',
]

# Add any paths that contain templates here, relative to this directory.
Expand All @@ -50,7 +51,7 @@
'.md': CommonMarkParser,
}

source_suffix = ['.rst', '.md']
source_suffix = ['.rst', '.md', '.ipynb']
#source_suffix = '.rst'

# The encoding of source files.
Expand Down Expand Up @@ -132,7 +133,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
html_theme = 'nature'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
46 changes: 46 additions & 0 deletions docs/examples.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
survivalstan package
====================

Submodules
----------

survivalstan.models module
--------------------------

.. automodule:: survivalstan.models
:members:
:undoc-members:
:show-inheritance:

survivalstan.sim module
-----------------------

.. automodule:: survivalstan.sim
:members:
:undoc-members:
:show-inheritance:

survivalstan.survivalstan module
--------------------------------

.. automodule:: survivalstan.survivalstan
:members:
:undoc-members:
:show-inheritance:

survivalstan.utils module
-------------------------

.. automodule:: survivalstan.utils
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------

.. automodule:: survivalstan
:members:
:undoc-members:
:show-inheritance:
3 changes: 2 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Features
Installation
------------

Install $survivalstan via pip:
Install survivalstan via pip:

pip install survivalstan

Expand Down Expand Up @@ -67,6 +67,7 @@ Contents:
.. toctree::
:maxdepth: 2

Usage.ipynb

Indices and tables
==================
Expand Down

0 comments on commit 8b554a6

Please sign in to comment.