Skip to content

Commit e0ab0ee

Browse files
authored
fix docu index (#19)
1 parent 70dfd27 commit e0ab0ee

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<aside id="left-sidebar" class="docs-sidebar">
2+
<div class="docs-sidebar-toc collapse" aria-label="Docs navigation" id="docs-sidebar-nav">
3+
{%- if theme_display_global_toc_section %}
4+
<div class="docs-sidebar-section" id="table-of-contents">
5+
<a href="{{ pathto(master_doc) }}" class="docs-sidebar-section-title"><h4>{{project}} {{version}}</h4></a>
6+
{%- if theme_sidebar_mode == 'toc' %}
7+
{{ toc }}
8+
{%- elif theme_sidebar_mode == 'toctree' %}
9+
{{ toctree(maxdepth=4, includehidden=True, titles_only=true) }}
10+
{%- endif %}
11+
</div>
12+
{%- endif %}
13+
</div>
14+
</aside>

doc/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
sys.path.insert(0, os.path.abspath('../../'))
6565
sys.path.insert(0, os.path.abspath('../'))
6666
sys.path.insert(0, os.path.abspath('./'))
67+
sys.path.insert(0, os.path.abspath('..'))
6768

6869

6970
# TODO(shade) Set this to true once the build-openstack-sphinx-docs job is

0 commit comments

Comments
 (0)