Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add algolia search #2739

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"sphinx-prompt",
"sphinx_toolbox.collapse",
"sphinx_copybutton",
"sphinx_docsearch",
]

local_extensions = [
Expand Down Expand Up @@ -236,6 +237,9 @@
("warning-is-error", True),
]

docsearch_app_id = "A8AKA13JPF"
docsearch_api_key = "e394dd6e7f75ad724520eeb82c5504fe"
docsearch_index_name = "wpilib"

def setup(app):
app.add_css_file("css/frc-rtd.css")
Expand Down
1 change: 1 addition & 0 deletions source/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ urllib3==1.26.19 ; python_version >= "3.9" and python_version < "3.13"
webencodings==0.5.1 ; python_version >= "3.9" and python_version < "3.13"
zipp==3.19.2 ; python_version >= "3.9" and python_version < "3.10"
zopfli==0.2.3 ; python_version >= "3.9" and python_version < "3.13"
sphinx-docsearch
Loading