Commit Graph

16 Commits (e0eecc3334cddc6bddabd69c5985db2304e2d634)

Author SHA1 Message Date
Jeremy Salwen 1cb84f6d74 Add filters for search results based on kind.
This allows you to search defs, theorems, etc independently.
2023-02-01 15:15:45 +01:00
Jeremy Salwen 3a977a94ca Fix issues with Search page impelementation
- Makes the autocomplete results highlight with up/down arrows.
- Allows you to unselect autocomplete results by using arrow keys.
- Fixed a bug in previous commits where enter did not take you to autocomplete result.
- Return now goes to the search page if no autocomplete result is selected.
- Search results table now properly wraps. (It would be nice to make it wider but I wasn't able to).
- Fixed a bug in the previous commit where docs were not showing, due to failure to copy a modified js file.
2023-01-28 23:00:53 +01:00
Jeremy Salwen 033003c6cb Add a search page to the docs.
Now instead of clicking the "Google Site Search"' button, the user has the option
of clicking the "Search" button, which will take them to a results page. Currently,
the results are identical to the autocomplete results, but the number of results
is not limited to 30.  In the future, more information and search options could
be added to this page to make a more powerful search.

Fixes #107
2023-01-28 23:00:53 +01:00
Henrik Böving 247b930364 feat: instances for 2022-07-23 15:40:08 +02:00
Henrik Böving 6be2e4dc4e feat: importedBy via Javascript 2022-07-22 16:56:51 +02:00
Henrik Böving 2ffff99f90 feat: instances from JSON 2022-07-22 16:15:37 +02:00
Henrik Böving bb9b55ef2c feat: Step 1 for full separate builds with global info 2022-07-22 14:48:36 +02:00
Henrik Böving 71af8db54b feat: Declaration data into separate directory 2022-07-21 21:05:19 +02:00
Henrik Böving 25b1ddb66b feat: Preparations to split doc-gen build process 2022-07-21 01:40:04 +02:00
Henrik Böving 06c20ee46f dynamically change SITE_ROOT since we are relative now 2022-04-07 12:39:32 +02:00
Xubai Wang 0ec492ba98 fix: error handling for declaration data 2022-03-14 10:59:25 +08:00
Xubai Wang 2b217ecda0 fix: fix find search 2022-02-23 05:32:37 +08:00
Xubai Wang a18e343829 refactor: change find syntax 2022-02-23 04:26:20 +08:00
Xubai Wang e4ccc5cf50 feat: add browser cache for data
fix search name
2022-02-22 23:20:20 +08:00
Xubai Wang 004977e6e4 refactor: use strict match for find 2022-02-22 15:01:14 +08:00
Xubai Wang f23556739f refactor: clean up javascript code 2022-02-22 12:40:14 +08:00