Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
564747d9
Kaydet (Commit)
564747d9
authored
Eyl 19, 2017
tarafından
Steve Dower
Kaydeden (comit)
Ned Deily
Eki 03, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix build issues in Doc/make.bat (#3663)
üst
d8c174af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
make.bat
Doc/make.bat
+10
-8
No files found.
Doc/make.bat
Dosyayı görüntüle @
564747d9
...
...
@@ -58,7 +58,7 @@ if "%1" EQU "help" goto help
if "%1" EQU "check" goto check
if "%1" EQU "serve" goto serve
if "%1" == "clean" (
rmdir /q /s
%BUILDDIR%
rmdir /q /s
"%BUILDDIR%"
goto end
)
...
...
@@ -107,6 +107,8 @@ echo.be passed by setting the SPHINXOPTS environment variable.
goto end
:build
if not exist "%BUILDDIR%" mkdir "%BUILDDIR%"
if exist ..\Misc\NEWS (
echo.Copying Misc\NEWS to build\NEWS
copy ..\Misc\NEWS build\NEWS > nul
...
...
@@ -123,10 +125,10 @@ if exist ..\Misc\NEWS (
if NOT "%PAPER%" == "" (
set SPHINXOPTS=-D latex_elements.papersize=%PAPER% %SPHINXOPTS%
)
cmd /
C %SPHINXBUILD% %SPHINXOPTS% -b%1 -dbuild\doctrees . %BUILDDIR%\%*
cmd /
S /C "%SPHINXBUILD% %SPHINXOPTS% -b%1 -dbuild\doctrees . "%BUILDDIR%\%1" %2 %3 %4 %5 %6 %7 %8 %9"
if "%1" EQU "htmlhelp" (
cmd /C "%HTMLHELP%" build\htmlhelp\python%DISTVERSION:.=%.hhp
"%HTMLHELP%" "%BUILDDIR%\htmlhelp\python%DISTVERSION:.=%.hhp"
rem hhc.exe seems to always exit with code 1, reset to 0 for less than 2
if not errorlevel 2 cmd /C exit /b 0
)
...
...
@@ -146,19 +148,19 @@ if NOT "%2" EQU "" (
)
cmd /C %this% html
if EXIST
%BUILDDIR%\html\index.html
(
echo.Opening
%BUILDDIR%\html\index.html
in the default web browser...
start
%BUILDDIR%\html\index.html
if EXIST
"%BUILDDIR%\html\index.html"
(
echo.Opening
"%BUILDDIR%\html\index.html"
in the default web browser...
start
"%BUILDDIR%\html\index.html"
)
goto end
:check
cmd /
C %PYTHON% tools\rstlint.py -i tools
cmd /
S /C "%PYTHON% tools\rstlint.py -i tools"
goto end
:serve
cmd /
C %PYTHON% ..\Tools\scripts\serve.py %BUILDDIR%\html
cmd /
S /C "%PYTHON% ..\Tools\scripts\serve.py "%BUILDDIR%\html""
goto end
:end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment