Skip to content
Snippets Groups Projects
Commit 4f0ced70 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

MNT: Update to newer sphinx

parent 2f963d24
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ class doc(Command): ...@@ -67,7 +67,7 @@ class doc(Command):
print('Building documentation [{}]'.format(destdir)) print('Building documentation [{}]'.format(destdir))
import sphinx import sphinx.cmd.build as sphinx_build
try: try:
import unittest.mock as mock import unittest.mock as mock
...@@ -83,7 +83,7 @@ class doc(Command): ...@@ -83,7 +83,7 @@ class doc(Command):
patches = [mock.patch.dict('sys.modules', **mockedModules)] patches = [mock.patch.dict('sys.modules', **mockedModules)]
[p.start() for p in patches] [p.start() for p in patches]
sphinx.main(['sphinx-build', docdir, destdir]) sphinx_build.main([docdir, destdir])
[p.stop() for p in patches] [p.stop() for p in patches]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment