Skip to content

Commit

Permalink
minor sphinx config and docstring tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Nov 26, 2016
1 parent cd18d98 commit f40729b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@
]

# autodoc settings
autoclass_content = 'both' # both class and __init__ docstrings
autoclass_content = 'class'
autodoc_member_order = 'bysource'
autodoc_default_flags = ['show-inheritance', 'members']
# 'no-private-members', 'no-special-members']
autodoc_default_flags = ['show-inheritance', 'members', 'special-members']

# Napoleon settings
# http://www.sphinx-doc.org/en/stable/ext/napoleon.html
Expand Down
2 changes: 2 additions & 0 deletions docs/source/granary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ atom
facebook
--------
.. automodule:: granary.facebook
:exclude-members: __getnewargs__, __getstate__, __new__, __repr__

flickr
------
Expand All @@ -33,6 +34,7 @@ microformats2
source
------
.. automodule:: granary.source
:exclude-members: __getnewargs__, __getstate__, __new__, __repr__

twitter
-------
Expand Down

0 comments on commit f40729b

Please sign in to comment.