summaryrefslogtreecommitdiff
path: root/mkdocs-material/src/nav.html
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2018-08-27 19:13:42 -0400
committerJordan Wiens <jordan@psifertex.com>2018-08-27 19:13:42 -0400
commit867353b827eabb294f1cc8d0d825669cf64b7138 (patch)
treefdef5687b3ce7941104e6fa31763c1b08d0d82aa /mkdocs-material/src/nav.html
parentcbdf8b6925dcf4b5fd29868797fe0195de5680ee (diff)
switch from mkdocs-material to a custom readthedocs style for user docs as well
Diffstat (limited to 'mkdocs-material/src/nav.html')
-rw-r--r--mkdocs-material/src/nav.html51
1 files changed, 0 insertions, 51 deletions
diff --git a/mkdocs-material/src/nav.html b/mkdocs-material/src/nav.html
deleted file mode 100644
index 1d70b9fc..00000000
--- a/mkdocs-material/src/nav.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<!-- Render sections -->
-{% if nav_item.children %}
- <li>
- <span class="section">{{ nav_item.title }}</span>
- <ul>
-
- <!-- Render pages of section -->
- {% for nav_item in nav_item.children %}
- {% include "nav.html" %}
- {% endfor %}
- </ul>
- </li>
-
-<!-- Render page link -->
-{% else %}
- <li>
- <a class="{% if nav_item.active %}current{% endif %}"
- title="{{ nav_item.title }}" href="{{ nav_item.url }}" >
- {{ nav_item.title }}
- </a>
-
- <!-- Expand active pages -->
- {% if nav_item == current_page %}
-
- <!--
- The top-level anchor must be skipped if the article contains a h1
- headline, since it would be redundant to the link to the current page
- that is located just above the anchor. Therefore we directly continue
- with the children of the anchor.
- -->
- {% if h1 %}
- {% set toc = (toc | first).children %}
- {% endif %}
-
- <!-- Render anchors of active page -->
- {% if toc and (toc | first) %}
- <ul>
- {% for toc_item in toc %}
-
- <!-- Render anchor -->
- <li class="anchor">
- <a title="{{ toc_item.title }}" href="{{ toc_item.url }}">
- {{ toc_item.title }}
- </a>
- </li>
- {% endfor %}
- </ul>
- {% endif %}
- {% endif %}
- </li>
-{% endif %} \ No newline at end of file