DITA Bootstrap Extension

A plug-in for DITA Open Toolkit that extends the DITA Bootstrap HTML output with additional features from the Bootstrap Extension library.

Installing

Use the dita command to add the DITA Bootstrap Extension plug-in to your DITA Open Toolkit installation:

dita install fox.jason.extend.css
dita install net.infotexture.dita-bootstrap
dita install net.infotexture.dita-bootstrap.extension
dita --install fox.jason.extend.css
dita --install net.infotexture.dita-bootstrap
dita --install net.infotexture.dita-bootstrap.extension
dita --install https://github.com/jason-fox/fox.jason.extend.css/archive/master.zip
dita --install https://github.com/infotexture/dita-bootstrap/archive/master.zip
dita --install https://github.com/infotexture/dita-bootstrap.extension/archive/master.zip

Using

Specify the html5-bootstrap format when building output with the dita command:

dita --input=path/to/your.ditamap --format=html5-bootstrap

Optional elements

The optional toTop button can be included with the following parameter:

  • to-top.include – add a toTop button that scrolls to the top of the page

Common Bootstrap utility classes

The HTML output can be annotated with common Bootstrap utility classes using additional command line parameters:

  • bootstrap.css.to-top – common Bootstrap utility classes for the toTop button