fix html context event handler

The event handler should return a replacement template *name* or None.
Since we don't want to change the template, return None.

Change-Id: I3012ad22505230c488aa4babbd4141d903b7ab0d
Closes-Bug: 1516834
This commit is contained in:
Doug Hellmann 2015-11-17 01:06:00 +00:00
parent c383e0026a
commit 0b555a001f
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def _guess_cgit_link():
def _html_page_context(app, pagename, templatename, context, doctree):
# Insert the cgit link into the template context.
context['cgit_link'] = app.config.oslosphinx_cgit_link
return context
return None
def builder_inited(app):