Commit 7126ccb4 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Merge branch 'mnt/py8_gtk3' into 'master'

MNT: Sphinx compat

See merge request fsl/fsleyes/props!34
parents 8684afc9 20f65ddd
......@@ -61,7 +61,7 @@ class doc(Command):
print('Building documentation [{}]'.format(destdir))
import sphinx
import as sphinx_build
import unittest.mock as mock
......@@ -77,7 +77,7 @@ class doc(Command):
patches = [mock.patch.dict('sys.modules', **mockedModules)]
[p.start() for p in patches]
sphinx.main(['sphinx-build', docdir, destdir])
sphinx_build.main([docdir, destdir])
[p.stop() for p in patches]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment