Table of Contents
How to build examples pages
Boostrap 2 Version :
$ asciidoc -b bootstrap -a linkcss -a theme=flatly -a themedir=themes/2 -a bsver=2 -a navbar=fixed -a jumbotron -a toc -a totop=ui /path/to/docs/filename
Boostrap 3 Version :
$ asciidoc -b bootstrap -a linkcss -a theme=flatly -a themedir=themes/3 -a bsver=3 -a navbar=fixed -a jumbotron -a toc -a totop=ui /path/to/docs/filename
Note
Some explanations
- 
linkcssreduce the size of html document. Default AsciiDoc behavior is: ``stylesheets and scripts are automatically embedded in the output document``. - 
themeis the standard flatly Bootswatch theme for Bootstrap 2 or 3. - 
themedirtheme is loaded from local folder(outdir)/themes/2/(Bootstrap 2) and(outdir)/themes/3/(Bootstrap 3). - 
bsverused the Bootstrap template 2 or 3. - 
navbarused a top fixed navbar style. - 
jumbotronused a jumbotron to enhance main title. - 
tocused the standard Table Of Contents at start of the document. - 
totopused a jQuery plugin to allow to easily scroll back to top of the document.