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

Commit 6698995

Browse files
committed
Move the feature flags added in #85
1 parent 0c08264 commit 6698995

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

readthedocs_ext/readthedocs.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ def rtd_render(self, template, render_context):
148148
'subprojects': {
149149
slug: url for slug, url in ctx.get('subprojects', [])
150150
},
151+
'features': {
152+
'docsearch_disabled': ctx.get('docsearch_disabled', False),
153+
},
151154
}
152155
if ctx.get('page_source_suffix'):
153156
ctx['rtd_data']['source_suffix'] = ctx['page_source_suffix']

0 commit comments

Comments
 (0)