Skip to content

Vagrantfile with the most important parts of the Asciidoctor-toolchain preconfigured

Notifications You must be signed in to change notification settings

roelvs/asciidoctor-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Asciidoctor-vagrant

Intro

Asciidoc(tor) (http://www.asciidoctor.org) is a great markup language for documentation. Installing the complete toolchain can seem daunting at first because of a long list of prerequisites (packages! operating system!, ..), but this Vagrantfile makes installation a breeze…​

This vagrant machine is a clean Fedora 22 cloud image, provisioned at runtime. Changing or updating is just a matter of altering the Vagrantfile.

Just put the Vagrantfile in your documentation directory and type in your terminal/cmd prompt:

 vagrant up

Once provisioned, use

vagrant ssh

to get in the virtual machine. The /vagrant directory of the vm is mapped to the folder containing the Vagrantfile. Now you should have all the asciidoctor-tools at your fingertips…​

example
#create a default html5 output from test.adoc
asciidoctor test.adoc

#create a pdf file from the same test.adoc
asciidoctor-pdf -r asciidoctor-mathematical test.adoc -a pdf-stylesdir=. -a pdf-style=pdf-theme.yml -a pdf-fontsdir=pdffonts/

Requirements

Included

About

Vagrantfile with the most important parts of the Asciidoctor-toolchain preconfigured

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published