Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 3766e15

Browse files
authored
Merge pull request #34 from davidfischer/fix-linting-issue
Fix a linting problem
2 parents 7ce803e + 328436b commit 3766e15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readthedocs_ext/template-meta.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ def on_page_context(app, pagename, templatename, context, doctree):
1313
if 'meta' in context and 'template' in context['meta']:
1414
return context['meta']['template']
1515

16+
return None
17+
1618

1719
def setup(app):
1820
app.connect('html-page-context', on_page_context)

0 commit comments

Comments
 (0)