[Python-checkins] r65495 - doctools/trunk/sphinx/builder.py
georg.brandl
python-checkins at python.org
Mon Aug 4 18:37:40 CEST 2008
Author: georg.brandl
Date: Mon Aug 4 18:37:40 2008
New Revision: 65495
Log:
Show Sphinx version in footer.
Modified:
doctools/trunk/sphinx/builder.py
Modified: doctools/trunk/sphinx/builder.py
==============================================================================
--- doctools/trunk/sphinx/builder.py (original)
+++ doctools/trunk/sphinx/builder.py Mon Aug 4 18:37:40 2008
@@ -24,7 +24,7 @@
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 @@
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):
More information about the Python-checkins
mailing list