Skip to content
Snippets Groups Projects
Commit 013ea671 authored by bigbes's avatar bigbes
Browse files

[documentation] Update template for menu in sphinx

parent bf905bb9
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@
("Try", "http://try.tarantool.org"),
("Documentation", "http://tarantool.org/doc/"),
("Download", "http://tarantool.org/download.html"),
("Careers", "http://tarantool.org/careers.html"),
("Rocks", "http://rocks.tarantool.org")
] %}
......@@ -13,9 +14,10 @@
<li class="b-menu-item">
{% if
(item[0] == "Overview" and page.slug == "index") or
(item[0] == "Try" and page.slug == "try") or
(item[0] == "Documentation" and page.slug == "documentation") or
(item[0] == "Download" and page.slug == "download") or
(item[0] == "Try" and page.slug == "try") or
(item[0] == "Careers" and page.slug == "careers") or
(item[0] == "Rocks" and page.slug == "rocks")
%}
<a href="{{ item[1] }}" class="b-menu-item-url p-active">{{ item[0] }}</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment