diff --git a/docs/source/conf.py b/docs/source/conf.py index 52b5964..091e82c 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -49,6 +49,7 @@ # Offset to play well with copybutton toggleprompt_offset_right = 35 togglebutton_hint = " " +pyrepl_doctest_blocks = "autodoc" intersphinx_mapping = { 'python': ('https://docs.python.org/3', None), } diff --git a/setup.cfg b/setup.cfg index 30b352f..d9d723e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,7 +21,5 @@ classifiers = packages = find: [options.extras_require] -# docs dependencies install: -# conda install --channel conda-forge pygraphviz -# python -m pip install sphinx myst-parser sphinx-toggleprompt sphinx-copybutton sphinx-togglebutton sphinx_autodoc_typehints sphinx_rtd_theme "sphinx-pyrepl-web>=0.1.1" -docs = sphinx; myst-parser; sphinx-toggleprompt; sphinx-copybutton; sphinx-togglebutton; sphinx_autodoc_typehints; sphinx_rtd_theme; sphinx-pyrepl-web>=0.1.1 +# 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