Skip to content

Commit

Permalink
Manually adding.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robpol86 committed Sep 2, 2016
1 parent d4e54ba commit e73b041
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sphinxcontrib/versioning/sphinx_.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ def html_page_context(cls, app, pagename, templatename, context, doctree):
if cls.SHOW_BANNER and 'body' in context:
parsed = app.builder.templates.render('banner.html', context)
context['body'] = parsed + context['body']
css_files = context.setdefault('css_files', list())
if '_static/banner.css' not in css_files:
css_files.append('_static/banner.css')


def setup(app):
Expand Down

0 comments on commit e73b041

Please sign in to comment.