Skip to content

Commit dbe60aa

Browse files
authored
put title in back in breadcrumbs (#64)
1 parent 7f248d6 commit dbe60aa

File tree

3 files changed

+48
-10
lines changed

3 files changed

+48
-10
lines changed

source/_templates/breadcrumbs.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{% extends "!breadcrumbs.html" %}
22
{% block breadcrumbs %}
3-
<li><a href="http://oneapi.com">oneAPI.com</a></li>
3+
<li><a href="{{ pathto(master_doc) }}">oneAPI Specification</a> &raquo;</li>
4+
{% for doc in parents %}
5+
{% if loop.first %}
6+
<li><a href="{{ doc.link|e }}">{{ doc.title }}</a> </li>
7+
{% endif %}
8+
{% endfor %}
49
{% endblock %}

source/_templates/layout.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{% extends "!layout.html" %}
2+
3+
{% block sidebartitle %}
4+
5+
{% if logo and theme_logo_only %}
6+
<a href="{{ pathto(master_doc) }}">
7+
{% else %}
8+
<a href="https://oneapi.com" class="icon icon-home"> {{ project }}
9+
{% endif %}
10+
11+
{% if logo %}
12+
{# Not strictly valid HTML, but it's the only way to display/scale
13+
it properly, without weird scripting or heaps of work
14+
#}
15+
<img src="{{ pathto('_static/' + logo, 1) }}" class="logo" alt="Logo"/>
16+
{% endif %}
17+
</a>
18+
19+
{% if theme_display_version %}
20+
{%- set nav_version = version %}
21+
{% if READTHEDOCS and current_version %}
22+
{%- set nav_version = current_version %}
23+
{% endif %}
24+
{% if nav_version %}
25+
<div class="version">
26+
{{ nav_version }}
27+
</div>
28+
{% endif %}
29+
{% endif %}
30+
31+
{% include "searchbox.html" %}
32+
33+
{% endblock %}

source/conf/common_conf.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
rst_prolog = """
2-
.. |ccl_full_name| replace:: oneAPI Collective Communications Library
3-
.. |dal_full_name| replace:: oneAPI Data Analytics Library
4-
.. |dnn_full_name| replace:: oneAPI Deep Neural Network Library
5-
.. |dpl_full_name| replace:: oneAPI DPC++ Library
6-
.. |dpcpp_full_name| replace:: oneAPI DPC++
7-
.. |l0_full_name| replace:: oneAPI Level Zero
8-
.. |mkl_full_name| replace:: oneAPI Math Kernel Library
9-
.. |tbb_full_name| replace:: oneAPI Threading Building Blocks
10-
.. |vpl_full_name| replace:: oneAPI Video Processing Library
2+
.. |ccl_full_name| replace:: Collective Communications Library
3+
.. |dal_full_name| replace:: Data Analytics Library
4+
.. |dnn_full_name| replace:: Deep Neural Network Library
5+
.. |dpl_full_name| replace:: DPC++ Library
6+
.. |dpcpp_full_name| replace:: DPC++
7+
.. |l0_full_name| replace:: Level Zero
8+
.. |mkl_full_name| replace:: Math Kernel Library
9+
.. |tbb_full_name| replace:: Threading Building Blocks
10+
.. |vpl_full_name| replace:: Video Processing Library
1111
"""
1212

1313
oneapi_spec_version = '0.6.0'

0 commit comments

Comments
 (0)