Add -A option to pass values into HTML templates.

This commit is contained in:
Georg Brandl
2008-11-04 08:34:35 +01:00
parent e666b6d203
commit a6f09758e3
6 changed files with 31 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
{% extends "!layout.html" %}
{% block extrahead %}
<meta name="hc" content="{{ hckey }}" />
{% endblock %}

View File

@@ -133,6 +133,8 @@ html_last_updated_fmt = '%b %d, %Y'
# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
#html_file_suffix = ''
html_context = {'hckey': 'hcval'}
# Output file base name for HTML help builder.
htmlhelp_basename = 'SphinxTestsdoc'