Backend Attributes
| Name | Description |
|---|---|
navinfo, navinfo1, navinfo2 |
These three attributes control which navigation information files will be included in the output file:
Where $ asciidoc -a navinfo -b bootstrap mydoc.txt This next example will include $ asciidoc -a navinfo2 -b bootstrap mydoc.txt |
footer |
This attribute control which footer informations will be included in the output file: If not defined, then it will be the default footer with a link back to top, the version and last updated informations.
The following example will include the $ asciidoc -a footer -b bootstrap mydoc.txt |
totop |
This attribute control which back to top system you want to include in the output file.
The following example will include the standard href link in the HTML output file: $ asciidoc -a totop=text -b bootstrap mydoc.txt The following example will include a dynamic clickable area in the HTML output file: $ asciidoc -a totop=ui -b bootstrap mydoc.txt |
brandver |
This attribute control whether you want to include a dynamic versions list in the output file.
A The following example will include a dynamic versions list, located in the navinfo.html, in the HTML output file: $ asciidoc -a brandver -b bootstrap mydoc.txt The following example will remove a dynamic versions list, located in the navinfo.html, and won’t be shown in the final HTML output file (defautl behavior): $ asciidoc -a brandver! -b bootstrap mydoc.txt |
<ul class="nav">
<li>
<a href="index.html"><i class="icon-home icon-white"></i> Home</a>
</li>
</ul>
<ul class="nav pull-left">
<li class="dropdown">
<a id="drop1" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-tag icon-white"></i> Versions <b class="caret"></b></a>
<ul class="dropdown-menu" id="dropdown-menu-versions" role="menu" aria-labelledby="drop1">
</ul>
</li>
</ul>
<ul class="nav pull-right">
<li class="dropdown">
<a id="drop1" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-globe icon-white"></i> Links <b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="drop1">
<li><a tabindex="-1" href="http://www.methods.co.nz/asciidoc/">AsciiDoc</a></li>
<li><a tabindex="-1" href="http://getbootstrap.com">Bootstrap</a></li>
<li class="divider"></li>
<li class="dropdown-submenu">
<a tabindex="-1" href="#">AsciiDoc Bootstrap Backend</a>
<ul class="dropdown-menu">
<li><a tabindex="-1" href="https://github.com/llaville/asciidoc-bootstrap-backend">by Laurent Laville</a></li>
<li><a tabindex="-1" href="https://github.com/mojavelinux/asciidoc-bootstrap-docs-backend">by Dan Allen</a></li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="row">
<div class="span3">
<ul class="nav nav-list">
<li class="nav-header"><i class="icon-tag"></i> About</li>
<li><a href="CHANGELOG.html">Changelog</a></li>
<li class="divider"></li>
<li>Version <span class="badge badge-info">{revnumber}</span></li>
<li>{docdate} {doctime}</li>
</ul>
</div>
<div class="span3">
<ul class="nav nav-list">
<li class="nav-header"><i class="icon-book"></i> Get Started</li>
<li><a href="text-formatting.html">Text Formatting</a></li>
<li><a href="delimited-blocks.html">Delimited Blocks</a></li>
<li><a href="paragraphs.html">Paragraphs</a></li>
<li><a href="document-structure.html">Document Structure</a></li>
<li class="divider"></li>
<li><a href="base-css-book.html">Base CSS</a></li>
</ul>
</div>
<div class="span3">
<ul class="nav nav-list">
<li class="nav-header"><i class="icon-comment"></i> Get Help</li>
<li><a href="https://github.com/llaville/asciidoc-bootstrap-backend/issues">Report an issue</a></li>
</ul>
</div>
</div>