Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 8d559a99 authored by Deepak Khatri's avatar Deepak Khatri :dog:
Browse files

update layout #2

parent fec38803
6 merge requests!40Merge BeaglePlay and latest BeagleConnect documentation,!39Add accessories section updates,!38Add BeagleBone Accessories section,!31Fix PDF font issue,!30rst-cheat-sheet updates and links and spelling fix from Jason,!29Add AI-64 connectors table & fix text
...@@ -14,19 +14,21 @@ ...@@ -14,19 +14,21 @@
{% endif %} {% endif %}
{{ super() }} {{ super() }}
{% endblock %} {% endblock %}
{% block menu %} {% block rootrellink %}
{% include "bversions.html" %} {% block menu %}
{{ super() }} {% include "bversions.html" %}
{% if reference_links %} {{ super() }}
<div class="toctree-wrapper compound"> {% if reference_links %}
<p class="caption"><span class="caption-text">Reference</span></p> <div class="toctree-wrapper compound">
<ul> <p class="caption"><span class="caption-text">Reference</span></p>
{% for title, url in reference_links.items() %} <ul>
<li class="toctree-l1"> {% for title, url in reference_links.items() %}
<a class="reference internal" href="{{ url }}">{{ title }}</a> <li class="toctree-l1">
</li> <a class="reference internal" href="{{ url }}">{{ title }}</a>
{% endfor %} </li>
</ul> {% endfor %}
</div> </ul>
{% endif %} </div>
{% endif %}
{% endblock %}
{% endblock %} {% endblock %}
...@@ -76,6 +76,7 @@ with open(BBDOCS_BASE / "VERSION") as f: ...@@ -76,6 +76,7 @@ with open(BBDOCS_BASE / "VERSION") as f:
else: else:
major, minor, patch, extra = m.groups(1) major, minor, patch, extra = m.groups(1)
version = ".".join((major, minor, patch)) version = ".".join((major, minor, patch))
release_version = ".".join((major, minor))
if extra: if extra:
version += "-" + extra version += "-" + extra
......
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