File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,16 @@ if not defined SPHINXBUILD (
16
16
%PYTHON% -m pip install sphinx
17
17
if errorlevel 1 exit /B
18
18
)
19
- %PYTHON% -c " import python_docs_theme" > nul 2 > nul
20
- if errorlevel 1 (
21
- echo Installing python-docs-theme with %PYTHON%
22
- %PYTHON% -m pip install python-docs-theme
23
- if errorlevel 1 exit /B
24
- )
25
19
set SPHINXBUILD = %PYTHON% -c " import sphinx, sys; sys.argv[0] = 'sphinx-build'; sys.exit(sphinx.main())"
26
20
)
27
21
22
+ %PYTHON% -c " import python_docs_theme" > nul 2 > nul
23
+ if errorlevel 1 (
24
+ echo Installing python-docs-theme with %PYTHON%
25
+ %PYTHON% -m pip install python-docs-theme
26
+ if errorlevel 1 exit /B
27
+ )
28
+
28
29
if not defined BLURB (
29
30
%PYTHON% -c " import blurb" > nul 2 > nul
30
31
if errorlevel 1 (
@@ -35,9 +36,6 @@ if not defined BLURB (
35
36
set BLURB = %PYTHON% -m blurb
36
37
)
37
38
38
- if not defined SPHINXBUILD set SPHINXBUILD = sphinx-build
39
- if not defined BLURB set BLURB = blurb
40
-
41
39
if " %1 " NEQ " htmlhelp" goto :skiphhcsearch
42
40
if exist " %HTMLHELP% " goto :skiphhcsearch
43
41
You can’t perform that action at this time.
0 commit comments