Backed out changeset e665e278f4ac (bug 1730515) for causing issues on search functionality. a=backout

This commit is contained in:
Csoregi Natalia 2022-03-04 20:04:18 +02:00
Родитель 9efff64959
Коммит 3bbe5b075b
2 изменённых файлов: 0 добавлений и 23 удалений

16
docs/_templates/searchbox.html поставляемый
Просмотреть файл

@ -1,16 +0,0 @@
<! -- This code is governed by the BSD license -->
<div>
<h3>{{ _('Quick search') }}</h3>
<script>
(function() {
var cx = 'dd12886298f75dbef';
var gcse = document.createElement('script');
gcse.async = true;
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:search></gcse:search>
</div>

Просмотреть файл

@ -70,13 +70,6 @@ templates_path = ["_templates"]
source_suffix = [".rst", ".md"] source_suffix = [".rst", ".md"]
master_doc = "index" master_doc = "index"
project = "Firefox Source Docs" project = "Firefox Source Docs"
# Override the search box to use Google instead of
# sphinx search
html_sidebars = {
"**": [
"searchbox.html",
]
}
html_logo = os.path.join( html_logo = os.path.join(
topsrcdir, "browser/branding/nightly/content/firefox-wordmark.svg" topsrcdir, "browser/branding/nightly/content/firefox-wordmark.svg"
) )