Plugin

Pages

documentation

The documentation method returns a navigation menu based on the page structure and configuration of a project. The active project being viewed is used by default.

{{ documentation()
    .linkAttributesDropdown({'data-toggle': 'dropdown'})
    .listClass('nav navbar-nav navbar-right')
    .childListClass('dropdown-menu')
    .render()|raw }}

You can specify a project and reference as well:

{{ documentation()
    .bootstrap4()
    .project('documentation-module')
    .reference('2.2')
    .render()|raw }}