diff options
author | Doug Hellmann <doug@doughellmann.com> | 2015-10-12 19:50:40 +0000 |
---|---|---|
committer | Doug Hellmann <doug@doughellmann.com> | 2015-10-12 19:50:40 +0000 |
commit | cd2674bb9501b0216dc81ede635e84c379b6309d (patch) | |
tree | b6f5060c1b720512cae5bbc0214475bca507e19a | |
parent | 53c4ae72e9940c917c8b4fc9a48b8aa4eeda7c81 (diff) | |
download | oslosphinx-cd2674bb9501b0216dc81ede635e84c379b6309d.tar.gz |
fix html-page-context event handler3.3.1
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
-rw-r--r-- | oslosphinx/__init__.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/oslosphinx/__init__.py b/oslosphinx/__init__.py index f788147..c088e84 100644 --- a/oslosphinx/__init__.py +++ b/oslosphinx/__init__.py @@ -34,7 +34,6 @@ def _html_page_context(app, pagename, templatename, context, doctree): parsed = parse.urlparse(git_remote) _cgit_link = CGIT_BASE + parsed.path.lstrip('/') context['cgit_link'] = _cgit_link - return context def builder_inited(app): |