docs/Rakefile
raw| 1 | require 'asciidoctor' |
| 2 | |
| 3 | task :default do |
| 4 | Asciidoctor.convert_file 'README.adoc', safe: :unsafe, to_file: 'index.html', attributes: { 'reproducible' => true, 'toc' => 'left' } |
| 5 | Asciidoctor.convert_file 'blocklets.adoc', safe: :unsafe, attributes: { 'reproducible' => true } |
| 6 | Asciidoctor.convert_file 'i3blocks.1.adoc', safe: :unsafe, attributes: { 'reproducible' => true, 'toc' => 'left' } |
| 7 | Asciidoctor.convert_file 'i3blocks.1.adoc', safe: :unsafe, backend: :manpage |
| 8 | end |