diff options
author | 2020-11-06 20:20:45 +0530 | |
---|---|---|
committer | 2020-11-10 15:25:18 +0000 | |
commit | 992be2143539df943ba835ffa6b1165e5c841119 (patch) | |
tree | 613c05e71974bed2ff8a7bf96e747ac7c6d23571 /theme/mkdocs_windmill/nav-pane.html | |
parent | 1aeb863a111b8ea1b48d56d4a563c8398082858e (diff) |
Added Halibut Branchhalibut
Meta redirects to http://old-docs.automotivelinux.org/docs/en/halibut/getting_started/
Bug-AGL: [SPEC-3633]
Signed-off-by: Shankho Boron Ghosh <shankhoghosh123@gmail.com>
Change-Id: I2f106628e603cb207d1734f521b5e8d1fb4164dc
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/documentation/+/25515
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'theme/mkdocs_windmill/nav-pane.html')
-rw-r--r-- | theme/mkdocs_windmill/nav-pane.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/theme/mkdocs_windmill/nav-pane.html b/theme/mkdocs_windmill/nav-pane.html new file mode 100644 index 0000000..d9dc7d5 --- /dev/null +++ b/theme/mkdocs_windmill/nav-pane.html @@ -0,0 +1,26 @@ +{# Side-pane with table of contents #} +<nav class="wm-toc-pane"> + {# Optional link to the repository #} + {%- block repo %} + {%- if config.repo_url %} + <ul class="wm-toctree wm-toc-repo"> + <li class="wm-toc-li wm-toc-lev1"> + <a class="wm-article-link wm-toc-text" href="{{ config.repo_url }}"> + {% include 'repo-icon.html' %} + {{ config.repo_name }} + </a> + </li> + </ul> + {%- endif %} + {%- endblock %} + + {%- block site_nav %} + <ul class="wm-toctree"> + {%- set navlevel = 1 %} + {%- for nav_item in nav %} + {% include 'nav-item.html' %} + {%- endfor %} + </ul> + {%- endblock %} +</nav> + |