diff options
author | Georg Brandl <georg@python.org> | 2011-05-15 13:05:31 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-05-15 13:05:31 +0200 |
commit | 0dbb1d6d8311a9e829a58762a461b48d714ed4aa (patch) | |
tree | c1330ef73640fc928a0fa8645830a72343dc6d32 | |
parent | e44c7e00563271f162ecd680ae151c013ac6c462 (diff) | |
download | sphinx-0dbb1d6d8311a9e829a58762a461b48d714ed4aa.tar.gz |
Closes #658: fix error in script_files example and document css_files.
-rw-r--r-- | doc/templating.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/templating.rst b/doc/templating.rst index 193a90bd..05a1346c 100644 --- a/doc/templating.rst +++ b/doc/templating.rst @@ -198,7 +198,11 @@ Overriding works like this:: Add additional script files here, like this:: - {% set script_files = script_files + [pathto("_static/myscript.js", 1)] %} + {% set script_files = script_files + ["_static/myscript.js"] %} + +.. data:: css_files + + Similar to :data:`script_files`, for CSS files. Helper Functions |