Codebase list oslo-sphinx / cd2674b
fix html-page-context event handler The event handler should return a string if it wants to replace the template, but should otherwise return None and update the context in place. Change-Id: Ic4b19c7d19eda866ba139913cf817c99a65c8c08 Closes-Bug: #1505311 Doug Hellmann 8 years ago
1 changed file(s) with 0 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3333 parsed = parse.urlparse(git_remote)
3434 _cgit_link = CGIT_BASE + parsed.path.lstrip('/')
3535 context['cgit_link'] = _cgit_link
36 return context
3736
3837
3938 def builder_inited(app):