Skip to content

Commit

Permalink
update docs for fitter module
Browse files Browse the repository at this point in the history
  • Loading branch information
phobson committed Jan 2, 2016
1 parent 2c1a3c1 commit c12fdcc
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/Makefile
Expand Up @@ -5,7 +5,7 @@
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
BUILDDIR = ../../paramnormal-docs

# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -20,7 +20,7 @@

autodoc_member_order = 'bysource'

import mock
from unittest import mock

MOCK_MODULES = ['scipy', 'scipy.stats']
for mod_name in MOCK_MODULES:
Expand Down
8 changes: 4 additions & 4 deletions docs/dist.rst
@@ -1,8 +1,8 @@
.. _cont_auto:
.. _dist_auto:

Continuous Distributions
========================
Probability Distributions
=========================

.. automodule:: paramnormal.continuous
.. automodule:: paramnormal.dist
:members:
:undoc-members:
11 changes: 6 additions & 5 deletions docs/index.rst
Expand Up @@ -3,17 +3,18 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to paramnormal's documentation!
=======================================
Welcome to paramnormal's
========================

.. include:: ../readme.rst

Contents:

.. toctree::
:maxdepth: 2

continuous.rst
discrete.rst

dist.rst
fit.rst


Indices and tables
Expand Down
8 changes: 7 additions & 1 deletion paramnormal/fit.py
Expand Up @@ -6,6 +6,12 @@
from . import process_args


__all__ = [
'normal',
'lognormal'
]


_docstring = """\
Parameters
Expand All @@ -23,7 +29,7 @@
See also
--------
paramnormal.{}
paramnormal.dist.{}
"""

Expand Down

0 comments on commit c12fdcc

Please sign in to comment.