diff options
author | Georg Brandl <georg@python.org> | 2014-02-16 08:46:36 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-02-16 08:46:36 (GMT) |
commit | f7b2f36f747179cf3dc7a889064f8979e3ad4dae (patch) | |
tree | 0d0bae61eacfb5e0c7a94aedc6639f4e52453663 /Doc/make.bat | |
parent | a3d0ffe2c63a6037189617229574c1d28cba9501 (diff) | |
download | cpython-f7b2f36f747179cf3dc7a889064f8979e3ad4dae.zip cpython-f7b2f36f747179cf3dc7a889064f8979e3ad4dae.tar.gz cpython-f7b2f36f747179cf3dc7a889064f8979e3ad4dae.tar.bz2 |
Doc: do not rely on checked-out Sphinx toolchain from svn.python.org anymore
Nowadays it is likely that people will have Sphinx installed,
and if not, they will know how to install it.
This also simplifies life a lot for distribution packagers,
who typically do not want the doc build process to connect
to external web resources.
Diffstat (limited to 'Doc/make.bat')
-rw-r--r-- | Doc/make.bat | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Doc/make.bat b/Doc/make.bat index d6f7074..0b5b56e 100644 --- a/Doc/make.bat +++ b/Doc/make.bat @@ -1,7 +1,6 @@ @@echo off setlocal -set SVNROOT=http://svn.python.org/projects if "%PYTHON%" EQU "" set PYTHON=py -2 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 @@ -14,15 +13,11 @@ if "%1" EQU "text" goto build if "%1" EQU "suspicious" goto build if "%1" EQU "linkcheck" goto build if "%1" EQU "changes" goto build -if "%1" EQU "checkout" goto checkout -if "%1" EQU "update" goto update :help set this=%~n0 echo HELP echo. -echo %this% checkout -echo %this% update echo %this% html echo %this% htmlhelp echo %this% latex @@ -33,20 +28,6 @@ echo %this% changes echo. goto end -:checkout -svn co %SVNROOT%/external/Sphinx-1.2/sphinx tools/sphinx -svn co %SVNROOT%/external/docutils-0.11/docutils tools/docutils -svn co %SVNROOT%/external/Jinja-2.3.1/jinja2 tools/jinja2 -svn co %SVNROOT%/external/Pygments-1.6/pygments tools/pygments -goto end - -:update -svn update tools/sphinx -svn update tools/docutils -svn update tools/jinja2 -svn update tools/pygments -goto end - :build if not exist build mkdir build if not exist build\%1 mkdir build\%1 |