summaryrefslogtreecommitdiff
path: root/sphinx/builder.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-08-04 16:37:40 +0000
committerGeorg Brandl <georg@python.org>2008-08-04 16:37:40 +0000
commit5847b5ffcfd73599a4b0b9311e87cda0e068695a (patch)
tree2415b9f0ba850d106ff75a4935604bc67cf68928 /sphinx/builder.py
parent23c5e8ee0a7c230b39498f11e931efd49657ce27 (diff)
downloadsphinx-git-5847b5ffcfd73599a4b0b9311e87cda0e068695a.tar.gz
Show Sphinx version in footer.
Diffstat (limited to 'sphinx/builder.py')
-rw-r--r--sphinx/builder.py7
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):