diff options
author | Georg Brandl <georg@python.org> | 2008-08-04 16:37:40 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-08-04 16:37:40 +0000 |
commit | 5847b5ffcfd73599a4b0b9311e87cda0e068695a (patch) | |
tree | 2415b9f0ba850d106ff75a4935604bc67cf68928 /sphinx/builder.py | |
parent | 23c5e8ee0a7c230b39498f11e931efd49657ce27 (diff) | |
download | sphinx-git-5847b5ffcfd73599a4b0b9311e87cda0e068695a.tar.gz |
Show Sphinx version in footer.
Diffstat (limited to 'sphinx/builder.py')
-rw-r--r-- | sphinx/builder.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sphinx/builder.py b/sphinx/builder.py index 3a8558c27..34c7edd7b 100644 --- a/sphinx/builder.py +++ b/sphinx/builder.py @@ -24,7 +24,7 @@ from docutils.utils import new_document from docutils.frontend import OptionParser from docutils.readers.doctree import Reader as DoctreeReader -from sphinx import addnodes +from sphinx import addnodes, __version__ from sphinx.util import ensuredir, relative_uri, SEP, os_path, json from sphinx.htmlhelp import build_hhx from sphinx.htmlwriter import HTMLWriter, HTMLTranslator, SmartyPantsHTMLTranslator @@ -384,12 +384,13 @@ class StandaloneHTMLBuilder(Builder): docstitle = self.config.html_title, shorttitle = self.config.html_short_title, show_sphinx = self.config.html_show_sphinx, - file_suffix = self.config.html_file_suffix, + file_suffix = self.out_suffix, + sphinx_version = __version__, rellinks = rellinks, builder = self.name, parents = [], logo = logo, - favicon = favicon + favicon = favicon, ) def get_doc_context(self, docname, body): |