Bug 1730515 - FX doc: Use google search instead of sphinx search r=firefox-source-docs-reviewers,ahal DONTBUILD

sphinx search is pretty bad...

Differential Revision: https://phabricator.services.mozilla.com/D128022
This commit is contained in:
Sylvestre Ledru
2022-03-29 15:19:47 +00:00
parent b514cbe929
commit 4aaf2460e6
2 changed files with 23 additions and 0 deletions

View File

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