summaryrefslogtreecommitdiff
path: root/sphinx/quickstart.py
diff options
context:
space:
mode:
authorTakayuki Shimizukawa <shimizukawa@gmail.com>2014-09-26 02:11:51 +0900
committerTakayuki Shimizukawa <shimizukawa@gmail.com>2014-09-26 02:11:51 +0900
commit02539d5eaf451245e228435285619c1f06dd0736 (patch)
treeb3e6af3a49f67122d9da4c37cbf55c4479853db2 /sphinx/quickstart.py
parent88540e9a3b7d3a9f323b83b2c5cd6342ee037572 (diff)
parent0a25e61effbc3cbd7ce8f9648a70ca9e53f8aa8c (diff)
downloadsphinx-git-02539d5eaf451245e228435285619c1f06dd0736.tar.gz
merge with stable
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r--sphinx/quickstart.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py
index f81b38f05..5edb39a08 100644
--- a/sphinx/quickstart.py
+++ b/sphinx/quickstart.py
@@ -938,6 +938,7 @@ REM Command file for Sphinx documentation
if "%%SPHINXBUILD%%" == "" (
\tset SPHINXBUILD=sphinx-build
)
+set SOURCEDIR=%(rsrcdir)s
set BUILDDIR=%(rbuilddir)s
set SPHINXPROJ=%(project_fn)s
@@ -956,11 +957,11 @@ if errorlevel 9009 (
\texit /b 1
)
-%%SPHINXBUILD%% -M %%1 %%BUILDDIR%% %%SPHINXOPTS%%
+%%SPHINXBUILD%% -M %%1 %%SOURCEDIR%% %%BUILDDIR%% %%SPHINXOPTS%%
goto end
:help
-%%SPHINXBUILD%% -M help %%BUILDDIR%% %%SPHINXOPTS%%
+%%SPHINXBUILD%% -M help %%SOURCEDIR%% %%BUILDDIR%% %%SPHINXOPTS%%
:end
'''