diff options
| author | Georg Brandl <georg@python.org> | 2009-09-04 00:16:34 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-09-04 00:16:34 +0200 |
| commit | df68eadcfd963e1e9e040f2341aa9c54858bd693 (patch) | |
| tree | 0510dca026db5036ea49d4cb46afcf47f4560d49 /sphinx/application.py | |
| parent | 06555961a3dbeca2a124f965f484c80b230e8ce9 (diff) | |
| parent | 3a597d41609bbf89dabe93676453d16e5e4664d7 (diff) | |
| download | sphinx-df68eadcfd963e1e9e040f2341aa9c54858bd693.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 b4280892..0c26b131 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: |
