Skip to content

Commit

Permalink
Rejigger template name once more
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed May 6, 2015
1 parent acff2db commit 64691ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/templating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ are in HTML form), these variables are also available:
* ``includehidden`` (``False`` by default): if true, the TOC tree will also
contain hidden entries.

.. data:: source_suffix
.. data:: page_source_suffix

The suffix of the file that was rendered. Since we support multiple source_suffix's now,
The suffix of the file that was rendered. Since we support a list of :confval:`source_suffix`,
this will allow you to properly link to the original source file.
2 changes: 1 addition & 1 deletion sphinx/builders/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def get_doc_context(self, docname, body, metatags):
toc = toc,
# only display a TOC if there's more than one item to show
display_toc = (self.env.toc_num_entries[docname] > 1),
source_suffix = source_suffix,
page_source_suffix = source_suffix,
)

def write_doc(self, docname, doctree):
Expand Down

0 comments on commit 64691ed

Please sign in to comment.