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
-
linkcss
reduce the size of html document. Default AsciiDoc behavior is: ``stylesheets and scripts are automatically embedded in the output document``. -
theme
is the standard flatly Bootswatch theme for Bootstrap 2 or 3. -
themedir
theme is loaded from local folder(outdir)/themes/2/
(Bootstrap 2) and(outdir)/themes/3/
(Bootstrap 3). -
bsver
used the Bootstrap template 2 or 3. -
navbar
used a top fixed navbar style. -
jumbotron
used a jumbotron to enhance main title. -
toc
used the standard Table Of Contents at start of the document. -
totop
used a jQuery plugin to allow to easily scroll back to top of the document.