Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zuoxingdong committed Aug 7, 2019
1 parent c89d19b commit cf91231
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
11 changes: 4 additions & 7 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
import os
import sys
import mock
sys.path.insert(0, os.path.abspath('../../'))


# Exclude some dependencies for Read the Docs to compile with
import mock
MOCK_MODULES = ['seaborn',
'matplotlib',
'matplotlib.pyplot',
Expand Down Expand Up @@ -59,8 +58,9 @@
]

# Napoleon settings
napoleon_include_init_with_doc = True # show docstring of __init__
napoleon_include_private_with_doc = True # show docstring of _method
napoleon_google_docstring = True
napoleon_include_init_with_doc = False # show docstring of __init__
napoleon_include_private_with_doc = False # show docstring of _method
napoleon_include_special_with_doc = True # show docstring of __method__
napoleon_use_ivar = True # show argument dtype with link

Expand Down Expand Up @@ -176,6 +176,3 @@
author, 'lagom', 'One line description of project.',
'Miscellaneous'),
]


# -- Extension configuration -------------------------------------------------
3 changes: 3 additions & 0 deletions docs/source/envs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ lagom.envs

.. autoclass:: NormalizeReward
:members:

.. autoclass:: TimeStepEnv
:members:

.. autoclass:: VecEnv
:members:
Expand Down
3 changes: 0 additions & 3 deletions docs/source/metric.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ lagom.metric: Metrics
.. automodule:: lagom.metric
.. currentmodule:: lagom.metric

.. autoclass:: Trajectory
:members:

.. autofunction:: returns

.. autofunction:: bootstrapped_returns
Expand Down

0 comments on commit cf91231

Please sign in to comment.