A script to convert AsciiDoc documents into HTML or PDF. Thanks Asciidoctor.
- Pandoc
- Ruby Language( I would like to recommend Ruby 2.2 or newer )
- Diagramming software
Install project dependencies with bundle install --jobs 4 --path vendor/bundle --binstubs vendor/bin
and bundle exec asciidoctor-pdf-cjk-kai_gen_gothic-install
( Download Chinese/Japanese/Korean Fonts )
.
├── adoc
│ ├── ch_ooo
│ │ ├── ch_ooo.adoc
│ │ └── sections
│ │ ├── section_1.adoc
│ │ ├── section_2.adoc
│ │ └── section_3.adoc
│ ├── ch_xxx
│ │ ├── ch_xxx.adoc
│ │ └── sections
│ │ ├── section_a.adoc
│ │ ├── section_b.adoc
│ │ └── section_c.adoc
│ ├── docinfo-footer.html
│ ├── book.adoc
│ ├── site
│ │ └── index.adoc
│ └── _temp( Unsorted AsciiDoc Files )
├── dist
│ ├── sample.pdf
│ ├── ch_ooo.html
│ └── ch_xxx.html
├── mkd( Markdown Files )
├── Rakefile
├── 404.html
└── vendor
cd /path/to/project
git clone https://github.com/asciidoctor/asciidoctor-stylesheet-factory asf && cd asf
- Editing the config.rb: 'stylesheets' -> '../themes'
bundle install --path vendor && bundle exec compass compile
bundle exec rake adoc
bundle exec rake pdf --quiet
bundle exec rake html --quiet
bundle exec rake deploy
MIT License