<ul class="nav navbar-nav">
<li class="dropdown">
<a id="drop3" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">Themes <b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="drop3">
<li><a tabindex="-1" href="document-structure.html5.html">AsciiDoc</a></li>
<li><a tabindex="-1" href="document-structure.default.html">Default</a></li>
<li><a tabindex="-1" href="document-structure.flatly.html">Flatly</a></li>
<li><a tabindex="-1" href="document-structure.readable.html">Readable</a></li>
<li><a tabindex="-1" href="document-structure.cerulean.html">Cerulean</a></li>
<li><a tabindex="-1" href="document-structure.united.html">United</a></li>
</ul>
</li>
<li>
<a href="callouts.cerulean.html"><span class="glyphicon glyphicon-forward"></span> Callouts</a>
</li>
</ul>
Backend Attributes
Name | Description |
---|---|
navinfo, navinfo1, navinfo2 |
These three attributes control which navigation information files will be included in the output file:
Where The following example will include a $ asciidoc -b bootstrap -a navinfo2 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 the version and last updated informations.
The following example will include the $ asciidoc -b bootstrap -a footer mydoc.txt |
totop |
This attribute control which back to top system you want to include in the output file.
The following example will include a dynamic clickable area in the HTML output file: $ asciidoc -b bootstrap -a totop mydoc.txt |
brandver |
This attribute control whether you want to include a dynamic versions list in the output file.
A The following example will not include a static versions list, identified by the navinfo.html, in the HTML output file (default behavior): $ asciidoc -b bootstrap -a brandver! mydoc.txt |
Examples
Navigation bar
<ul class="nav navbar-nav">
<li class="dropdown">
<a id="drop1" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-tag"></span> 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 navbar-nav">
<li>
<a href="index.html"><span class="glyphicon glyphicon-home"></span> Home</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right hidden-xs hidden-sm">
<li>
<a href="http://laurent-laville.org/asciidoc/bootstrap/expo/"><span class="glyphicon glyphicon-tint"></span> Expo</a>
</li>
<li>
<a href="http://laurent-laville.org/asciidoc/bootstrap/blog/"><span class="glyphicon glyphicon-bullhorn"></span> Blog</a>
</li>
</ul>
Footer
<div class="row">
<div class="col-md-3">
<h3>Links</h3>
<ul>
<li><a href="http://asciidoc.org">AsciiDoc</a></li>
<li><a href="http://getbootstrap.com">Bootstrap</a></li>
<li><a href="{brandref}/issues">Report an issue</a></li>
<li><a href="http://laurent-laville.org/asciidoc/bootstrap/expo/">Expo</a></li>
<li><a href="http://laurent-laville.org/asciidoc/bootstrap/blog/">Blog</a></li>
</li>
</ul>
</div>
<div class="col-md-9">
<h3>About Us</h3>
<p>
Thanks to Dan Allen who wrote the <a href="https://github.com/mojavelinux/asciidoc-bootstrap-docs-backend">first version</a>
on December 2012, and do my dream a reality.
</p>
<p>
Laurent Laville take the lead since release 1.1.0 on December 17th 2012.
</p>
</div>
</div>
<div class="row"> </div>
<div class="row">
<div class="col-md-9">
<div id="footer-text">
Version <span class="badge">{revnumber}</span><br>
Last updated {docdate} {doctime}<br>
Built with <a href="{brandref}">AsciiDoc-Bootstrap backend</a> {bootstrap-backend-version}
</div>
</div>
<div class="col-md-3">
<div id="footer-badges">
Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a>
and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
</div>
</div>
</div>
[https://raw.github.com/llaville/asciidoc-bootstrap-backend/v4/docs/document-structure.asciidoc]
.