Commit 81e00931 authored by Spencer Williams's avatar Spencer Williams
Browse files

make the legacy link optional

parent 8516f8c8
from os import path
__version__ = '0.0.7'
__version__ = '0.0.8'
def get_html_theme_path():
"""Return list of HTML theme paths."""
......
......@@ -36,9 +36,11 @@
<li class="nav-item nav-item-0">
<a href="/"><img class="logo" src="{{ pathto('_static/images/logo.png', 1) }}" alt="{{ shorttitle|e }}"/></a>
</li>
{%- if theme_display_legacy_link %}
<li id="legacyportalbutton" class="nav-item">
<a class="button" href="https://developer.rigado.com" title="Legacy DeviceOps Documentation">Legacy DeviceOps Documentation</a>
</li>
{%- endif %}
</ul>
</div>
{%- endblock %}
......
......@@ -9,6 +9,7 @@ analytics_domain =
use_search = True
use_global_toc = True
display_version = True
display_legacy_link = False
footerbgcolor = #ffffff
footertextcolor = #1d1d1d
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment