Include table of contents in README.html in Windows package.
commit7ded9d4af0e33f0cd5df4817ff0b2ad0dec12b4e
authorJohn MacFarlane <jgm@berkeley.edu>
dateSun 26 Jun 2016, 17:24 (10 years ago)
parent38c9732
appveyor.yml+1−1
@@ -37,7 +37,7 @@ after_test:
3737 # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is)
3838 - cd windows
3939 - 7z a "pandoc.zip" pandoc.exe
40− - .\pandoc.exe -s -S ..\README -o README.html
40+ - .\pandoc.exe -s -S --toc ..\README -o README.html
4141 - .\pandoc.exe -s -S ..\COPYING -o COPYING.rtf
4242 - copy ..\COPYRIGHT COPYRIGHT.txt
4343 - |
windows/make-windows-installer.bat+1−1
@@ -2,7 +2,7 @@
22stack install --test
33if %errorlevel% neq 0 exit /b %errorlevel%
44for /f "delims=" %%a in ('stack path --local-bin-path') do @set BINPATH=%%a
5−%BINPATH%\pandoc.exe -s -S ..\README -o README.html
5+%BINPATH%\pandoc.exe -s -S --toc ..\README -o README.html
66if %errorlevel% neq 0 exit /b %errorlevel%
77%BINPATH%\pandoc.exe -s ..\COPYING -t rtf -S -o COPYING.rtf
88if %errorlevel% neq 0 exit /b %errorlevel%