diff options
author | shimizukawa <shimizukawa@gmail.com> | 2014-10-09 00:57:01 +0900 |
---|---|---|
committer | shimizukawa <shimizukawa@gmail.com> | 2014-10-09 00:57:01 +0900 |
commit | c575c28515462cd8ff9ab2c54401935c6605ebae (patch) | |
tree | 6b3d237deb7a4c34cec7778a0062d85b8887173d /doc | |
parent | 4dc9421acf3ce48e3da365ebcbeae22a0378ebb4 (diff) | |
download | sphinx-c575c28515462cd8ff9ab2c54401935c6605ebae.tar.gz |
fix documentation for websupport.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/web/quickstart.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/web/quickstart.rst b/doc/web/quickstart.rst index eab19195..996942db 100644 --- a/doc/web/quickstart.rst +++ b/doc/web/quickstart.rst @@ -57,7 +57,7 @@ This will return a dictionary containing the following items: * **relbar**: A div containing links to related documents * **title**: The title of the document * **css**: Links to CSS files used by Sphinx -* **js**: JavaScript containing comment options +* **script**: JavaScript containing comment options This dict can then be used as context for templates. The goal is to be easy to integrate with your existing templating system. An example using `Jinja2 @@ -77,9 +77,9 @@ integrate with your existing templating system. An example using `Jinja2 <link rel="stylesheet" href="/static/websupport-custom.css" type="text/css"> {% endblock %} - {%- block js %} + {%- block script %} {{ super() }} - {{ document.js|safe }} + {{ document.script|safe }} {%- endblock %} {%- block relbar %} |