summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-06-26 17:24:15 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-06-26 17:24:15 -0700
commit7ded9d4af0e33f0cd5df4817ff0b2ad0dec12b4e (patch)
tree6b7eae6787e17f3b48c8564e715e0fa55d8c0dfe
parent38c97320ef551e63efdd4637dbbd6ba2666a1d66 (diff)
Include table of contents in README.html in Windows package.
-rw-r--r--appveyor.yml2
-rw-r--r--windows/make-windows-installer.bat2
2 files changed, 2 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 588c86a5e..7ce7dc171 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -37,7 +37,7 @@ after_test:
# .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is)
- cd windows
- 7z a "pandoc.zip" pandoc.exe
- - .\pandoc.exe -s -S ..\README -o README.html
+ - .\pandoc.exe -s -S --toc ..\README -o README.html
- .\pandoc.exe -s -S ..\COPYING -o COPYING.rtf
- copy ..\COPYRIGHT COPYRIGHT.txt
- |
diff --git a/windows/make-windows-installer.bat b/windows/make-windows-installer.bat
index 2f0bf4b88..892a61cdc 100644
--- a/windows/make-windows-installer.bat
+++ b/windows/make-windows-installer.bat
@@ -2,7 +2,7 @@
stack install --test
if %errorlevel% neq 0 exit /b %errorlevel%
for /f "delims=" %%a in ('stack path --local-bin-path') do @set BINPATH=%%a
-%BINPATH%\pandoc.exe -s -S ..\README -o README.html
+%BINPATH%\pandoc.exe -s -S --toc ..\README -o README.html
if %errorlevel% neq 0 exit /b %errorlevel%
%BINPATH%\pandoc.exe -s ..\COPYING -t rtf -S -o COPYING.rtf
if %errorlevel% neq 0 exit /b %errorlevel%