diff options
author | Olly Cope <olly@ollycope.com> | 2022-11-03 14:55:49 +0000 |
---|---|---|
committer | Olly Cope <olly@ollycope.com> | 2022-11-03 14:55:49 +0000 |
commit | 21ee6da85d71ae9de8b5398779bb4ec90eb7b303 (patch) | |
tree | d819bc68e1c36e4d861ddceeea396059dc52db7b | |
parent | 8a3f33386cd9c072f1f2245a36f4c3fb385b8ba7 (diff) | |
download | yoyo-21ee6da85d71ae9de8b5398779bb4ec90eb7b303.tar.gz |
docs: enable sphinxcontrib-programoutput
-rw-r--r-- | doc/Makefile | 1 | ||||
-rw-r--r-- | doc/conf.py | 1 | ||||
-rwxr-xr-x | tox.ini | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile index 2070e97..c97ae1c 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,5 +1,6 @@ # Minimal makefile for Sphinx documentation # +export PATH:=$(PATH):../.tox/py310-sphinx/bin/ # You can set these variables from the command line. SPHINXOPTS = diff --git a/doc/conf.py b/doc/conf.py index 2819070..ef9e4d8 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -48,6 +48,7 @@ extensions = [ "sphinx.ext.doctest", "sphinx.ext.intersphinx", "sphinx.ext.viewcode", + "sphinxcontrib.programoutput", ] # Add any paths that contain templates here, relative to this directory. @@ -15,8 +15,8 @@ commands=pytest [] deps= hg+http://hg.sr.ht/~olly/fresco-sphinx-theme#egg=fresco_sphinx_theme sphinx + sphinxcontrib-programoutput {[testenv]deps} - commands= sphinx-build -M doctest "{toxinidir}/doc/" "{toxinidir}_build" |