Commit Graph

74 Commits (5eb0d9f1de914bf3cae8de6bcd0d17d0448b0ce4)

Author SHA1 Message Date
Henrik Böving 86d5c219a9 feat: compress module urls and importedBy info into one 2023-12-10 00:44:25 +01:00
Henrik Böving 3cc5df1be7 feat: fix #166 2023-11-24 13:45:47 +01:00
Henrik Böving d70c8b78f8 fix: always keep a consistent font size 2023-11-13 23:19:19 +01:00
Henrik Böving 162de4ad98 feat: consistent font inheritance 2023-11-11 17:18:46 +01:00
Henrik Böving 756e5a0db8 feat: make @YaelDillies happier 2023-11-11 16:03:50 +01:00
Henrik Böving 78e472a973 feat: totally uncontroversial font change 2023-11-11 15:41:38 +01:00
Mario Carneiro 96870507c5 feat: add jump-src.js for #src links 2023-09-21 11:38:22 +02:00
Mario Carneiro 800041825e fix: don't fetch unused cache, FF fixes 2023-09-21 09:24:37 +02:00
Alex J. Best cf072e2be0 fix navbar break 2023-09-18 23:55:19 +02:00
Alex J. Best a088f648b1 clean the expand-nav implementation up a bit 2023-09-18 23:55:19 +02:00
Alex J. Best 924be4c7d8 feat: expand the current file in the navbar 2023-09-18 23:55:19 +02:00
Henrik f0967b7072 chore: reduce debounce time 2023-09-10 12:53:48 +02:00
Henrik 08de0ad10c feat: reduce JSON data size 2023-09-10 12:39:49 +02:00
Henrik b2119d4db6 feat: add the proposed search timeout 2023-09-10 00:39:39 +02:00
Eric Wieser 627bcb0626 Remove extra spacing 2023-08-18 11:00:32 +02:00
Henrik 9b524d7c5a chore: mitigate #133 for now 2023-07-20 23:41:44 +02:00
Henrik d65d26d7b9 fix: declaration-data.js local storage 2023-07-20 23:06:33 +02:00
Henrik 92650029f0 chore: cleanup the other declaration-data.js singleton 2023-07-20 22:55:09 +02:00
Henrik 5ce54e8e10 fix: race condition in declaration-data.js 2023-07-20 22:42:49 +02:00
Calvin Lee 76a137dabc fix colors if media set to dark
This commit fixes a few edge-cases. First, if you `prefers-color-scheme`
is dark, your background will no longer be dark in light mode.
Furthermore, switching from dark to system theme now works. It did not
before, as we queried our iframe for color-scheme instead of the parent
window (our iframe inherited the color-scheme from the parent document).
Finally, the navbar iframe has its color-scheme set separately, which
caused issues in a few cases.
2023-06-09 23:39:59 +02:00
Calvin Lee 75d06a8153 hide color-changer if javascript is disabled 2023-06-09 23:39:59 +02:00
Calvin Lee cc552ed570 add colorscheme toggle 2023-06-09 23:39:59 +02:00
Calvin Lee b9cfae7f53 add dark mode 2023-06-09 23:39:59 +02:00
Alex J. Best e0eecc3334 feat: trigger search input when event handler is added 2023-05-24 15:47:11 +02:00
Henrik e888e9cc38 feat: doc strings on ctors and fields are not monospaced anymore 2023-05-11 22:36:27 +02:00
Max Taldykin 9220cd74b1 fix implicit arg wrapping 2023-03-04 12:20:05 +01:00
Henrik Böving 54cf445e12 fix: #114 2023-02-16 18:14:40 +01:00
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 1575eeedd2 Add definition doc string to search result page.
Adds a two-column table to the search results so you can see the doc string next to
the result.  The doc string is not parsed/converted to markdown yet, but that could
be done later.
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
Parth Shastri 664a86e08b fix: minor style improvements 2022-11-06 13:53:23 +01:00
Ruben Van de Velde 153982f982
Work around unsupported RegExp lookbehind in WebKit. (#85)
* Work around unsupported RegExp lookbehind in WebKit.

* Update static/find/find.js

Co-authored-by: Mario Carneiro <di.gama@gmail.com>

Co-authored-by: Mario Carneiro <di.gama@gmail.com>
2022-10-20 18:21:33 +02:00
Henrik Böving 247b930364 feat: instances for 2022-07-23 15:40:08 +02:00
Henrik Böving 5a65c64d4c fix: alignment of navbar 2022-07-22 17:18:09 +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 80cb92eb94 feat: Use iframe for navbar to move it into the finalize stage 2022-07-21 22:06:26 +02:00
Henrik Böving 71af8db54b feat: Declaration data into separate directory 2022-07-21 21:05:19 +02:00
Henrik Böving 601b895e89 feat: Inductive constructor doc strings 2022-07-21 20:23:27 +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 be3caa9e1a feat: Basic semantic highlighting support 2022-06-20 22:21:48 +02:00
Henrik Böving 9f50966339 feat: initial LeanInk HTML generation 2022-06-20 18:39:55 +02:00
Henrik Böving 7c9237ffb4 chore: update compiler and lake 2022-06-19 16:41:59 +02:00
Henrik Böving a7c00d95e6 feat: Render doc comments for structure fields 2022-04-09 21:39:34 +02:00
Henrik Böving 3ac6ddd1ab fix: port the SITE_ROOT fix to find.js 2022-04-07 13:14:01 +02:00
Henrik Böving 67402506c7 fix: links in search 2022-04-07 12:44:33 +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