diff options
| author | Georg Brandl <georg@python.org> | 2010-01-01 14:10:48 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-01-01 14:10:48 +0100 |
| commit | a03764f9ad900d31ff87f2a1bf3aa818399995f7 (patch) | |
| tree | e153175b38cabd835ec31b6fb49e5d2da5b9bad3 /sphinx/application.py | |
| parent | d79e012aaecfb68ee5e09ce6a1c3971d5d605847 (diff) | |
| parent | 23cd8a9f62d9c4d8ec6e46165c42b2268c485bbe (diff) | |
| download | sphinx-a03764f9ad900d31ff87f2a1bf3aa818399995f7.tar.gz | |
merge with 0.6
Diffstat (limited to 'sphinx/application.py')
| -rw-r--r-- | sphinx/application.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sphinx/application.py b/sphinx/application.py index 581e0fc6..ad3a0833 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -324,6 +324,11 @@ class Sphinx(object): StandaloneHTMLBuilder.script_files.append( posixpath.join('_static', filename)) + def add_stylesheet(self, filename): + from sphinx.builders.html import StandaloneHTMLBuilder + StandaloneHTMLBuilder.css_files.append( + posixpath.join('_static', filename)) + def add_lexer(self, alias, lexer): from sphinx.highlighting import lexers if lexers is None: |
