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

Commit 533d0fa

Browse files
authored
Merge pull request #85 from readthedocs/allow-to-disable-search
Allow to disable server side search
2 parents 2a3cdd7 + b81464e commit 533d0fa

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
@@ -15,7 +15,9 @@ var READTHEDOCS_DATA = {
1515
{% endif %}
1616
commit: {{ commit|default('')|tojson }},
1717
ad_free: {% if ad_free %}true{% else %}false{% endif %},
18-
18+
features: {
19+
docsearch_disabled: {% if docsearch_disabled %}true{% else %}false{% endif %}
20+
},
1921
global_analytics_code: {% if global_analytics_code %}{{ global_analytics_code|default('')|tojson }}{% else %}null{% endif %},
2022
user_analytics_code: {% if user_analytics_code %}{{ user_analytics_code|default('')|tojson }}{% else %}null{% endif %}
2123
};

0 commit comments

Comments
 (0)