view docs/templates/inc/nav-items.html @ 1119:af57fbe9435a

formatter: Fix the regex used to find page segments. It was incorrectly matching a Markdown horizontal rule followed by a title if the title had exactly 3 dashes underneath it.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 27 Feb 2018 15:43:50 -0800
parents e135fd873c45
children
line wrap: on
line source

<ul class="navbar-nav ml-auto">
    <li class="nav-item"><a class="nav-link{% if page.nav_key == 'tutorial' %} active{% endif %}" href="{{ pcurl('getting-started') }}">Getting Started</a></li>
    <li class="nav-item"><a class="nav-link{% if page.nav_key == 'docs' %} active{% endif %}" href="{{ docurl('') }}">Documentation</a></li>
    <li class="nav-item"><a class="nav-link{% if page.nav_key == 'code' %} active{% endif %}" href="{{ apiurl('') }}">Code</a></li>
    <li class="nav-item"><a class="nav-link{% if page.nav_key == 'support' %} active{% endif %}" href="{{ pcurl('support') }}">Support</a></li>
</ul>