Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fslpy
Commits
4f0ced70
Commit
4f0ced70
authored
May 08, 2019
by
Paul McCarthy
🚵
Browse files
MNT: Update to newer sphinx
parent
2f963d24
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
4f0ced70
...
...
@@ -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
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment