summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/conf.py.in2
-rw-r--r--doc/templates/layout.html9
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/conf.py.in b/doc/conf.py.in
index 5338456..08bdcd3 100644
--- a/doc/conf.py.in
+++ b/doc/conf.py.in
@@ -31,7 +31,7 @@ release = '@conf_release@' # full version string
exclude_patterns = []
extensions = []
-templates_path = []
+templates_path = ['@conf_path@/templates']
castxml_manuals = sorted(glob.glob(r'@conf_docs@/manual/*.rst'))
castxml_manual_description = re.compile('^\.\. castxml-manual-description:(.*)$')
diff --git a/doc/templates/layout.html b/doc/templates/layout.html
new file mode 100644
index 0000000..4b26414
--- /dev/null
+++ b/doc/templates/layout.html
@@ -0,0 +1,9 @@
+{% extends "!layout.html" %}
+{% block rootrellink %}
+ <li>
+ <a href="https://github.com/CastXML/CastXML#readme">CastXML</a>{{ reldelim1 }}
+ </li>
+ <li>
+ <a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a>{{ reldelim1 }}
+ </li>
+{% endblock %}