mirror of
https://github.com/python/cpython.git
synced 2026-05-19 10:54:30 -04:00
Merge with 3.4
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ Without make
|
||||
|
||||
Install the Sphinx package and its dependencies from PyPI.
|
||||
|
||||
Then, from the ``Docs`` directory, run ::
|
||||
Then, from the ``Doc`` directory, run ::
|
||||
|
||||
sphinx-build -b<builder> . build/<builder>
|
||||
|
||||
|
||||
+3
-3
@@ -1,7 +1,8 @@
|
||||
@@echo off
|
||||
setlocal
|
||||
|
||||
if "%PYTHON%" EQU "" set PYTHON=py -2
|
||||
if "%SPHINXBUILD%" EQU "" set SPHINXBUILD=sphinx-build
|
||||
if "%PYTHON%" EQU "" set PYTHON=py
|
||||
if "%HTMLHELP%" EQU "" set HTMLHELP=%ProgramFiles%\HTML Help Workshop\hhc.exe
|
||||
if "%DISTVERSION%" EQU "" for /f "usebackq" %%v in (`%PYTHON% tools/sphinxext/patchlevel.py`) do set DISTVERSION=%%v
|
||||
|
||||
@@ -32,8 +33,7 @@ goto end
|
||||
if not exist build mkdir build
|
||||
if not exist build\%1 mkdir build\%1
|
||||
if not exist build\doctrees mkdir build\doctrees
|
||||
cmd /C %PYTHON% --version
|
||||
cmd /C %PYTHON% tools\sphinx-build.py -b%1 -dbuild\doctrees . build\%*
|
||||
cmd /C %SPHINXBUILD% -b%1 -dbuild\doctrees . build\%*
|
||||
if "%1" EQU "htmlhelp" "%HTMLHELP%" build\htmlhelp\python%DISTVERSION:.=%.hhp
|
||||
goto end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user