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

Replaced default search with Google #1667

Closed
wants to merge 1 commit into from
Closed
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 docs/_templates/sidebar/search.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<form class="sidebar-search-container" method="get" action="../google-search/" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search" autocomplete="off">
</form>
<div>
9 changes: 9 additions & 0 deletions docs/google-search.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Search Results
================

.. raw:: html

<script async src="https://cse.google.com/cse.js?cx=3762c7974c3874eb3">
</script>
<div class="gcse-searchresults-only" data-darkmode="true"></div>