From 71c8f9fef439accf1a570ebd0b700ad5b6b948e3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 27 May 2015 09:56:07 -0400 Subject: doc: Add CastXML homepage link to html documentation layout --- doc/conf.py.in | 2 +- doc/templates/layout.html | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 doc/templates/layout.html 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 %} +
  • + CastXML{{ reldelim1 }} +
  • +
  • + {{ shorttitle|e }}{{ reldelim1 }} +
  • +{% endblock %} -- cgit v0.12