зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset e665e278f4ac (bug 1730515) for causing issues on search functionality. a=backout
This commit is contained in:
Родитель
9efff64959
Коммит
3bbe5b075b
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче