aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDougal Matthews2014-10-09 10:14:04 +0100
committerDougal Matthews2014-11-25 12:32:29 +0000
commit3a648b9f0b0aa9a955065b96ea1a03376816ec00 (patch)
tree24994e21bf2cc0f73301de1b0ad39a25a4c8e699 /docs
parentb39bd7ce91d75aec6d1aa6593f35e59405ae3aa1 (diff)
downloaddjango-rest-framework-3a648b9f0b0aa9a955065b96ea1a03376816ec00.tar.bz2
Migrate documentation to MkDocs proper
Diffstat (limited to 'docs')
-rw-r--r--docs/theme/404.html (renamed from docs/404.html)0
-rw-r--r--docs/theme/base.html (renamed from docs/template.html)7
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/404.html b/docs/theme/404.html
index 864247e7..864247e7 100644
--- a/docs/404.html
+++ b/docs/theme/404.html
diff --git a/docs/template.html b/docs/theme/base.html
index f36cffc6..45e19cf3 100644
--- a/docs/template.html
+++ b/docs/theme/base.html
@@ -187,7 +187,12 @@ a.fusion-poweredby {
-->
<div id="table-of-contents">
<ul class="nav nav-list side-nav well sidebar-nav-fixed">
- {{ toc }}
+ {% for toc_item in toc %}
+ <li class="main {% if toc_item.active %}active{% endif %}"><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
+ {% for toc_item in toc_item.children %}
+ <li><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
+ {% endfor %}
+ {% endfor %}
<div class="promo">
{{ ad_block }}
</div>