10000 [3.6] bpo-33673: Install python-docs-theme even if Sphinx is already installed (GH-7163) by miss-islington · Pull Request #7184 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.6] bpo-33673: Install python-docs-theme even if Sphinx is already installed (GH-7163) #7184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bpo-33673: Install python-docs-theme even if Sphinx is already instal…
…led (GH-7163)

(cherry picked from commit 3d3e66c)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
  • Loading branch information
andresdelfino authored and miss-islington committed May 28, 2018
commit d9b2fe50f2658b099cb7a969592f2ec35978d27d
8 changes: 7 additions & 1 deletion Doc/make.bat
5ED2
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ if not defined SPHINXBUILD (
%PYTHON% -c "import sphinx" > nul 2> nul
if errorlevel 1 (
echo Installing sphinx with %PYTHON%
%PYTHON% -m pip install sphinx python-docs-theme
%PYTHON% -m pip install sphinx
if errorlevel 1 exit /B
)
%PYTHON% -c "import python_docs_theme" > nul 2> nul
if errorlevel 1 (
echo Installing python-docs-theme with %PYTHON%
%PYTHON% -m pip install python-docs-theme
if errorlevel 1 exit /B
)
set SPHINXBUILD=%PYTHON% -c "import sphinx, sys; sys.argv[0] = 'sphinx-build'; sphinx.main()"
Expand Down
0