summaryrefslogtreecommitdiff
path: root/doc/ext
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-16 21:05:20 +0200
committerGeorg Brandl <georg@python.org>2009-06-16 21:05:20 +0200
commit53cc9c63d442dc56cfe2e22703f2dddae01e0e70 (patch)
treefb7cb77908083e4a1a89f6d39aff25055e552a5a /doc/ext
parent71d862289c1bfc29fa75e18d82cb10ec89fc92bb (diff)
downloadsphinx-53cc9c63d442dc56cfe2e22703f2dddae01e0e70.tar.gz
#200: Added ``Sphinx.add_stylesheet()``.
Diffstat (limited to 'doc/ext')
-rw-r--r--doc/ext/appapi.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ext/appapi.rst b/doc/ext/appapi.rst
index 6864d6ba..0a3dae8f 100644
--- a/doc/ext/appapi.rst
+++ b/doc/ext/appapi.rst
@@ -205,6 +205,14 @@ the following public API:
.. versionadded:: 0.5
+.. method:: Sphinx.add_stylesheet(filename)
+
+ Add *filename* to the list of CSS files that the default HTML template will
+ include. Like for :meth:`add_javascript`, the filename must be relative to
+ the HTML static path.
+
+ .. versionadded:: 1.0
+
.. method:: Sphinx.add_lexer(alias, lexer)
Use *lexer*, which must be an instance of a Pygments lexer class, to