summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-27 13:56:07 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-27 13:56:19 (GMT)
commit71c8f9fef439accf1a570ebd0b700ad5b6b948e3 (patch)
tree30c1084523c621989b2db740fc12eedb0e21722c /doc
parent55bdaf888c013a2bb4cc5bc53731ffe793600bc9 (diff)
downloadCastXML-71c8f9fef439accf1a570ebd0b700ad5b6b948e3.zip
CastXML-71c8f9fef439accf1a570ebd0b700ad5b6b948e3.tar.gz
CastXML-71c8f9fef439accf1a570ebd0b700ad5b6b948e3.tar.bz2
doc: Add CastXML homepage link to html documentation layout
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 %}