Skip to content

Commit

Permalink
Bump docsearch to v3 (apache#26)
Browse files Browse the repository at this point in the history
This is a partial revert patch of commit 11bca29,
revert to use cdn hosted docsearch css/js, and bump docsearch to v3.
  • Loading branch information
acelyc111 authored Nov 2, 2023
1 parent 9408c49 commit 13ef6ef
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion _includes/algolia.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script src="/assets/js/docsearch.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>

<script>
docsearch({
Expand Down
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/app.css">
<link rel="shortcut icon" href="{{ site.baseurl }}/assets/images/favicon.ico">
<link rel="stylesheet" href="/assets/css/utilities.min.css">
<link rel="stylesheet" href="/assets/css/docsearch.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" />
<script src="/assets/js/jquery.min.js"></script>
<script src="/assets/js/all.min.js"></script>
{% seo %}
Expand Down
2 changes: 0 additions & 2 deletions assets/css/docsearch.min.css

This file was deleted.

1 change: 0 additions & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ document.addEventListener('DOMContentLoaded', () => {
});
});
}

});

$('.release-button').click(function () {
Expand Down
7 changes: 0 additions & 7 deletions assets/js/docsearch.min.js

This file was deleted.

0 comments on commit 13ef6ef

Please sign in to comment.