diff --git a/.gitignore b/.gitignore index 19d8a6c..1200137 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,6 @@ dist/ build/ naming.egg-info/ docs/build/ +docs/_build/ +docs/source/_static/wheels/*.whl *.pyc diff --git a/docs/source/conf.py b/docs/source/conf.py index 091e82c..85be3d4 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -50,6 +50,7 @@ toggleprompt_offset_right = 35 togglebutton_hint = " " pyrepl_doctest_blocks = "autodoc" +pyrepl_autodoc_packages = ":project:" intersphinx_mapping = { 'python': ('https://docs.python.org/3', None), } @@ -146,7 +147,7 @@ # 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, # so a file named "default.css" will overwrite the builtin "default.css". -# html_static_path = ['_static'] +html_static_path = ['_static'] # -- Options for HTMLHelp output ------------------------------------------ diff --git a/setup.cfg b/setup.cfg index d9d723e..d909d42 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,4 +22,4 @@ packages = find: [options.extras_require] # python -m pip install -e ".[docs]" -docs = sphinx; myst-parser; sphinx-toggleprompt; sphinx-copybutton; sphinx-togglebutton; sphinx_autodoc_typehints; sphinx_rtd_theme; sphinx-pyrepl-web>=0.2.0 +docs = sphinx; myst-parser; sphinx-toggleprompt; sphinx-copybutton; sphinx-togglebutton; sphinx_autodoc_typehints; sphinx_rtd_theme; sphinx-pyrepl-web>=0.4.0