diff options
| author | Georg Brandl <georg@python.org> | 2010-01-12 10:47:29 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-01-12 10:47:29 +0000 |
| commit | 4bd51f59a593ea5dfbb30422b09021ad0c6f812c (patch) | |
| tree | ef02625e7fe0bbaf9914f3a91b97c02172c8bfcb /sphinx/application.py | |
| parent | 151f182a2c55b9c6904475c753ee961460ef7823 (diff) | |
| parent | e3e0d55614a20c12b26c3c52aff587d189f8b727 (diff) | |
| download | sphinx-4bd51f59a593ea5dfbb30422b09021ad0c6f812c.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 7d5c5439..baa67b2a 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -325,6 +325,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: |
