10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 100db0b co F42B mmit d8af830Copy full SHA for d8af830
Doc/make.bat
@@ -13,7 +13,13 @@ if not defined SPHINXBUILD (
13
%PYTHON% -c "import sphinx" > nul 2> nul
14
if errorlevel 1 (
15
echo Installing sphinx with %PYTHON%
16
- %PYTHON% -m pip install sphinx python-docs-theme
+ %PYTHON% -m pip install sphinx
17
+ if errorlevel 1 exit /B
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
set SPHINXBUILD=%PYTHON% -c "import sphinx, sys; sys.argv[0] = 'sphinx-build'; sphinx.main()"
0 commit comments