Files
openstackdocstheme/openstackdocstheme/theme/openstackdocs/sidebartoc.html
Artem Goncharov b3d5cdc63a Upgrade bootstrap to 5.3
We stuck on a 5 years old version (Bootstrap 3.4) without doing updates.
This is EOL version and the more we wait the harder is the update.

Depends-On: https://review.opendev.org/c/openstack/os-api-ref/+/932048
Change-Id: Ief19c5ab926b45b9ccd04b5df0c2678f4727337b
2024-10-10 14:02:43 +00:00

25 lines
1010 B
HTML

<div class="col-lg-3 col-md-4 col-sm-4 col-lg-pull-9 col-md-pull-8 col-sm-pull-8 order-1 docs-sidebar">
<div class="btn-group docs-sidebar-releases">
<button onclick="location.href='/'" class="btn docs-sidebar-home" data-toggle="tooltip" data-placement="top" title="{{ theme_root_title|striptags }} Home"><i class="fa fa-arrow-circle-o-left"></i></button>
{%- if theme_sidebar_dropdown == 'api_ref' %}
{% include 'sidebartoc_menu_apiref.html' %}
{%- else %}
{% include 'sidebartoc_menu.html' %}
{%- endif %}
</div>
<div class="docs-sidebar-toc">
{%- if theme_display_global_toc_section %}
<div class="docs-sidebar-section" id="table-of-contents">
<a href="{{ pathto(master_doc) }}" class="docs-sidebar-section-title"><h4>{{project}} {{version}}</h4></a>
{%- if theme_sidebar_mode == 'toc' %}
{{ toc }}
{%- elif theme_sidebar_mode == 'toctree' %}
{{ toctree(maxdepth=2) }}
{%- endif %}
</div>
{%- endif %}
{% include 'localtoc.html' %}
</div>
</div>