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

Commit b81464e

Browse files
committed
Allow to disable server side search
1 parent e0a3828 commit b81464e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readthedocs_ext/_static/readthedocs-data.js_t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ var READTHEDOCS_DATA = {
1212
api_host: {{ api_host|default('')|tojson }},
1313
commit: {{ commit|default('')|tojson }},
1414
ad_free: {% if ad_free %}true{% else %}false{% endif %},
15-
15+
features: {
16+
docsearch_disabled: {% if docsearch_disabled %}true{% else %}false{% endif %}
17+
},
1618
global_analytics_code: {% if global_analytics_code %}{{ global_analytics_code|default('')|tojson }}{% else %}null{% endif %},
1719
user_analytics_code: {% if user_analytics_code %}{{ user_analytics_code|default('')|tojson }}{% else %}null{% endif %}
1820
};

0 commit comments

Comments
 (0)