Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zuoxingdong committed Aug 24, 2018
1 parent 7929c8c commit dd22ef1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ __pycache__/
.ipynb_checkpoints/

# Read the Docs
/docs/build/
/doc/build



Expand Down
6 changes: 6 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@
'sphinx.ext.napoleon' # Support Google Style docstring, i.e. Args/Returns
]

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

# Add any paths that contain templates here, relative to this directory.
templates_path = ['ntemplates']

Expand Down
3 changes: 1 addition & 2 deletions lagom/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ class Seeder(object):
"""

def __init__(self, init_seed=0):
r"""Constructor.
r"""
Args:
init_seed (int, optional): Initial seed for generating random seeds.
"""
Expand Down

0 comments on commit dd22ef1

Please sign in to comment.