Commit 4f0ced70 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

MNT: Update to newer sphinx

parent 2f963d24
......@@ -67,7 +67,7 @@ class doc(Command):
print('Building documentation [{}]'.format(destdir))
import sphinx
import sphinx.cmd.build as sphinx_build
try:
import unittest.mock as mock
......@@ -83,7 +83,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]
......
Markdown is supported
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