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:
parent
c383e0026a
commit
0b555a001f
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user