Skip to content

Commit

Permalink
Fuzzy search of docs (#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy-Orbison authored Aug 9, 2024
1 parent 73625a0 commit 2dcf9c3
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 116 deletions.
2 changes: 1 addition & 1 deletion include/footer.inc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ if (!empty($_SERVER['BASE_PAGE'])
<!-- External and third party libraries. -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<?php
$jsfiles = ["ext/hogan-3.0.2.min.js", "ext/typeahead.min.js", "ext/mousetrap.min.js", "ext/jquery.scrollTo.min.js", "search.js", "common.js"];
$jsfiles = ["ext/hogan-3.0.2.min.js", "ext/typeahead.jquery.min.js", "ext/FuzzySearch.min.js", "ext/mousetrap.min.js", "ext/jquery.scrollTo.min.js", "search.js", "common.js"];
foreach ($jsfiles as $filename) {
$path = dirname(__DIR__) . '/js/' . $filename;
echo '<script src="/cached.php?t=' . @filemtime($path) . '&amp;f=/js/' . $filename . '"></script>' . "\n";
Expand Down
10 changes: 10 additions & 0 deletions js/ext/FuzzySearch.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions js/ext/typeahead.jquery.min.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion js/ext/typeahead.min.js

This file was deleted.

Loading

0 comments on commit 2dcf9c3

Please sign in to comment.