Commit Graph

359 Commits (76a137dabc5fb43b600c92f43f8ed67889df6f1a)

Author SHA1 Message Date
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
Henrik 2e021cc13c chore: update toolchain 2023-06-04 02:48:14 +02:00
Denis Gorbachev b91272c643 Improve installation instructions 2023-05-26 12:07:57 +02:00
Alex J. Best e0eecc3334 feat: trigger search input when event handler is added 2023-05-24 15:47:11 +02:00
Alex J. Best 5e2869b66d feat: don't copy .git folders in test 2023-05-24 01:17:51 +02:00
Alex J. Best 306959b921 feat: list instances for defs also 2023-05-24 01:17:44 +02:00
Henrik e888e9cc38 feat: doc strings on ctors and fields are not monospaced anymore 2023-05-11 22:36:27 +02:00
Henrik 007e03db3b chore: update toolchain and deps 2023-05-11 22:35:07 +02:00
Henrik cf86cb4815 feat: attempt to source link directory dependencies 2023-04-24 00:18:29 +02:00
Henrik 9ebc79338e chore: update toolchain 2023-04-22 01:25:13 +02:00
Henrik a5c41d25a4 chore: cleanup CI after partial migration to mathlib4 2023-04-22 01:01:19 +02:00
Henrik Böving 9b028566ec fix: get rid off deleted attribute 2023-04-16 09:54:48 +02:00
Henrik Böving e5b44f1cdf chore: update toolchain 2023-04-16 01:30:21 +02:00
Henrik Böving b9421b9a12 fix: Use Z(separator) instead of S(ymbol) category
closes: #123
2023-03-27 15:38:49 +02:00
Henrik Böving 23eb55fc22 chore: update deps further 2023-03-17 18:11:26 +01:00
Henrik Böving 7b65322c78 chore: update toolchain 2023-03-17 08:26:21 +01:00
Henrik Böving 628ef2878e fix: properly comment out for the workaround 2023-03-16 20:39:30 +01:00
F. G. Dorais 5ab7d0bdd8 fix: unicode dependency 2023-03-15 11:54:57 +01:00
Henrik Böving 0c415232cd feat: new CI setup 2023-03-12 13:19:02 +01:00
F. G. Dorais 755f06fb0d fix: correct character category testing 2023-03-11 21:14:36 +01:00
Henrik Böving 5f59fbaac4 refactor: switch to maintained unicode lib 2023-03-11 18:06:32 +01:00
Henrik Böving 720e1acf81 feat: show versions in index HTML 2023-03-09 21:46:38 +01:00
Henrik Böving 8cb5a2ead4 chore: update lake 2023-03-09 19:41:52 +01:00
Henrik Böving 54463ac452 chore: update toolchhain 2023-03-09 19:37:27 +01:00
Henrik Böving 27cbf8ddd2 chore: update toolchain 2023-03-04 12:48:47 +01:00
Max Taldykin c3faad1730 help break_within to split names at `.` 2023-03-04 12:47:30 +01:00
Max Taldykin 9220cd74b1 fix implicit arg wrapping 2023-03-04 12:20:05 +01:00
Henrik Böving 5ab6766eb1 fix: #113 2023-02-16 19:51:35 +01:00
Henrik Böving 54cf445e12 fix: #114 2023-02-16 18:14:40 +01:00
Jeremy Salwen 162de994c2 Add comment to README about need for copying css and js files. 2023-02-03 21:10:44 +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
Henrik Böving 1c44e861be fix: search.html for relative roots 2023-01-29 14:07:21 +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
Jeremy Salwen 7b0ebfa527 Add section to README about development of doc-gen4 2023-01-25 18:32:45 +01:00
Henrik Böving 09dbebed9c chore: QoL updates for deploy_docs.sh 2023-01-05 00:02:41 +01:00
Henrik Böving f37579aaf7 feat: use mathlib4 build cache 2023-01-04 23:25:35 +01:00
Henrik Böving 8ac4e35587 fix: s/master/main 2023-01-02 10:07:10 +01:00
Henrik Böving 247dca1182 feat: truly limit the deploy to master 2023-01-01 22:15:08 +01:00
Henrik Böving dd5aae412d fix: attempt to fix CI again 2023-01-01 21:11:30 +01:00
Henrik Böving a18b27f4c1 feat: attempt to improve usability of the file tree 2023-01-01 20:21:10 +01:00
Henrik Böving d5ef8006b7 style: Lean 4 compiler style in LeanInk 2023-01-01 19:53:21 +01:00
Henrik Böving f74443a673 style: Lean 4 compiler style in output 2023-01-01 19:51:01 +01:00
Henrik Böving 3a5c0db46b style: refactor process to Lean 4 compiler style 2023-01-01 19:30:28 +01:00
Henrik Böving a5caefc03f fix: regression in import names 2023-01-01 18:59:19 +01:00
Henrik Böving bdf803b100 chore: update toolchain 2022-12-23 18:20:56 +01:00