-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.bat
19 lines (15 loc) · 1.31 KB
/
build.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@ECHO OFF
REM "Text based document generation: http://www.methods.co.nz/asciidoc/"
REM "highlighter: http://pygments.org/ & https://github.com/rodjek/puppet-pygments-lexer"
REM a2x -a encoding=utf-8 -a lang=zh-CN -f xhtml -D output -L -v ch01-Puppet_Infrastructure.txt
REM a2x -a encoding=utf-8 -a lang=zh-CN -f xhtml -D output -L -v ch02-Monitoring_Reporting_and_Troubleshooting.txt
REM a2x -a encoding=utf-8 -a lang=zh-CN -f xhtml -D output -L -v ch03-Puppet_Language_and_Style.txt
REM a2x -a encoding=utf-8 -a lang=zh-CN -f xhtml -D output -L -v ch04-Writing_Better_Manifests.txt
REM a2x -a encoding=utf-8 -a lang=zh-CN -f xhtml -D output -L -v ch05-Working_with_Files_and_Packages.txt
REM a2x -a encoding=utf-8 -a lang=zh-CN -f xhtml -D output -L -v ch06-Users_and_Virtual_Resources.txt
REM a2x -a encoding=utf-8 -a lang=zh-CN -f xhtml -D output -L -v ch07-Applications.txt
REM a2x -a encoding=utf-8 -a lang=zh-CN -f xhtml -D output -L -v ch08-Servers_and_Cloud_Infrastructure.txt
REM a2x -a encoding=utf-8 -a lang=zh-CN -f xhtml -D output -L -v ch09-External_Tools_and_the_Puppet_Ecosystem.txt
REM a2x -f xhtml -D output -L -v book.txt
REM a2x -f chunked -D output -L -v book.txt
asciidoc -f ./asciidoc.conf -b html5 -a lang=zh-CN -a encoding=utf-8 -a icons -a toc2 -a theme=flask -o output\Puppet-27-Cookbook.zh-CN.html book.txt