1
<div id="navbar" class="{{ theme_navbar_class }} navbar-default {% if theme_navbar_fixed_top == 'true' -%} navbar-fixed-top{%- endif -%}">
2
<div class="container">
3
<div class="navbar-header">
4
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
5
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
6
<span class="icon-bar"></span>
7
<span class="icon-bar"></span>
8
<span class="icon-bar"></span>
10
<a class="navbar-brand" href="{{ pathto(master_doc) }}">
11
{%- block sidebarlogo %}
12
{%- if logo %}<img src="{{ pathto('_static/' + logo, 1) }}">{%- endif %}
14
{% if theme_navbar_title -%}{{ theme_navbar_title|e }}{%- else -%}{{ project|e }}{%- endif -%}
16
<span class="navbar-text navbar-version pull-left"><b>{{ version|e }}</b></span>
19
<div class="collapse navbar-collapse nav-collapse">
20
<ul class="nav navbar-nav">
21
<li class="divider-vertical"></li>
22
{% if theme_navbar_links %}
23
{%- for link in theme_navbar_links %}
24
<li><a href="{{ pathto(*link[1:]) }}">{{ link[0] }}</a></li>
28
{% include "globaltoc.html" %}
29
{% if theme_navbar_pagenav %}
30
{% include "navbartoc.html" %}
33
{% if theme_navbar_sidebarrel %}
34
{% block sidebarrel %}
35
{% include "relations.html" %}
38
{% block navbarextra %}
40
{% if theme_source_link_position == "nav" %}
41
<li class="hidden-sm">{% include "sourcelink.html" %}</li>
45
{% block navbarsearch %}
46
{% include "navbarsearchbox.html" %}