From 7ded9d4af0e33f0cd5df4817ff0b2ad0dec12b4e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 26 Jun 2016 17:24:15 -0700 Subject: Include table of contents in README.html in Windows package. --- appveyor.yml | 2 +- windows/make-windows-installer.bat | 2 +- 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% -- cgit v1.2.3