diff options
Diffstat (limited to 'docs/source/conf.py')
-rw-r--r-- | docs/source/conf.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index e55c109..9f44b01 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -12,21 +12,23 @@ # import os import sys -#sys.path.insert(0, os.path.abspath('../..')) + sys.path.append(os.path.abspath('../..')) sys.path.append(os.path.abspath('websocket')) + # Don't skip __init__, which is skipped by default def skip(app, what, name, obj, would_skip, options): if name == "__init__": return False return would_skip + def setup(app): app.connect("autodoc-skip-member", skip) -# -- Project information ----------------------------------------------------- +# -- Project information ----------------------------------------------------- project = 'websocket-client' copyright = '2021' author = 'liris' @@ -41,7 +43,8 @@ release = '0.58.0' # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage', -'sphinx.ext.napoleon', 'sphinx.ext.viewcode', 'sphinx.ext.autosectionlabel'] + 'sphinx.ext.napoleon', 'sphinx.ext.viewcode', + 'sphinx.ext.autosectionlabel'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] |