Skip to content

Commit 27e54b4

Browse files
committed
ENH: Use sphinx-build for doc build commmand
Works better in conda environment situations.
1 parent 6a58852 commit 27e54b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# You can set these variables from the command line.
55
SPHINXOPTS =
6-
SPHINXBUILD = python -msphinx
6+
SPHINXBUILD = sphinx-build
77
SPHINXPROJ = ITKPythonPackage
88
SOURCEDIR = .
99
BUILDDIR = _build
@@ -17,4 +17,4 @@ help:
1717
# Catch-all target: route all unknown targets to Sphinx using the new
1818
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919
%: Makefile
20-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

0 commit comments

Comments
 (0)