couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woh...@apache.org
Subject documentation commit: updated refs/heads/master to eab768d
Date Fri, 15 Jul 2016 22:10:27 GMT
Repository: couchdb-documentation
Updated Branches:
  refs/heads/master 2dda387ea -> eab768d17


Fix Windows documentation build


Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/eab768d1
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/tree/eab768d1
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/diff/eab768d1

Branch: refs/heads/master
Commit: eab768d17ca0b9d20f4fc884a48376c9533356c1
Parents: 2dda387
Author: Joan Touzet <wohali@atypical.net>
Authored: Fri Jul 15 18:10:19 2016 -0400
Committer: Joan Touzet <wohali@atypical.net>
Committed: Fri Jul 15 18:10:19 2016 -0400

----------------------------------------------------------------------
 make.bat | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/eab768d1/make.bat
----------------------------------------------------------------------
diff --git a/make.bat b/make.bat
index 9e1fc08..1cfba34 100644
--- a/make.bat
+++ b/make.bat
@@ -5,9 +5,13 @@ REM Command file for Sphinx documentation
 if "%SPHINXBUILD%" == "" (
 	set SPHINXBUILD=sphinx-build
 )
-set BUILDDIR=_build
-set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
-set I18NSPHINXOPTS=%SPHINXOPTS% .
+set BUILDDIR=build
+set SOURCE=src/
+set PAPERSIZE=-D latex_paper_size=a4
+set SPHINXFLAGS=-a -n -A local=1 %PAPERSIZE%
+set SPHINXOPTS=%SPHINXFLAGS% %SOURCE%
+set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS%
+set I18NSPHINXOPTS=%SPHINXOPTS%
 if NOT "%PAPER%" == "" (
 	set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
 	set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%
@@ -47,7 +51,7 @@ if "%1" == "clean" (
 )
 
 
-%SPHINXBUILD% 2> nul
+%SPHINXBUILD% 1> nul 2> nul
 if errorlevel 9009 (
 	echo.
 	echo.The 'sphinx-build' command was not found. Make sure you have Sphinx


Mime
View raw message