Templates ********* Links ===== - http://ericholscher.com/blog/2009/apr/5/adding-google-analytics-sphinx-docs/ - http://sphinx.pocoo.org/latest/faq.html#using-sphinx-with Using Sphinx with... Google Analytics. Usage ===== To customise the existing template: - Create a ``layout.html`` file in the ``_templates`` folder. - Override the default template e.g: :: {% extends "!layout.html" %} {%- block extrahead %} {{ super() }} {% endblock %} Take note of the ``{{ super() }}`` call. This means that you are calling the inherited template's code, which pulls in the default Copyright notice into the footer. Then you can put in your custom code after that.