X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=docs%2Fconf.py;h=182d5a3cc8814529ee5a8ad7ed06ddecbae50c4d;hb=662b6f87542552c454396e42e1e6ce96ae2ad612;hp=90fa6a7fabbacae59d2a85a2742bcd8130b1b59c;hpb=b38920f24d1ac948958480c540bc4b8436186765;p=pyutils.git diff --git a/docs/conf.py b/docs/conf.py index 90fa6a7..182d5a3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -55,6 +55,9 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] # a list of builtin themes. # html_theme = 'sphinx_rtd_theme' +html_theme_options = { + 'navigation_depth': 5, +} # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, @@ -64,8 +67,6 @@ html_static_path = ['_static'] # Don't skip __init__()! def skip(app, what, name, obj, would_skip, options): - if name == "__repr__": - return False return would_skip @@ -73,4 +74,8 @@ def setup(app): app.connect("autodoc-skip-member", skip) +doctest_global_setup = ''' +import pyutils +''' + autoclass_content = 'both'