Thanks to visit codestin.com Credit goes to github.com
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 7165754 commit 3d3e66cCopy full SHA for 3d3e66c
1 file changed
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