Commit Graph

289 Commits (53ecc225fea834acd7f32b9dc1aed880b79d70b9)

Author SHA1 Message Date
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
Max Taldykin c3faad1730 help break_within to split names at `.` 2023-03-04 12:47:30 +01:00
Henrik Böving 5ab6766eb1 fix: #113 2023-02-16 19:51:35 +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 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 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
Seppel3210 03e6572584 fix: mention (a : α) → β a notation in foundational types section 2022-12-23 13:28:57 +01:00
Henrik Böving 345036e800 chore: update toolchain 2022-12-22 16:19:23 +01:00
Henrik Böving f221bbdcff fix: save the expansion state of the tree again 2022-12-13 20:01:11 +01:00
Henrik Böving 327fdf0ddd feat: short names in side bar 2022-12-13 19:37:28 +01:00
Henrik Böving 7009910876 chore: update toolchain 2022-12-03 17:43:12 +01:00
Henrik Böving 5e96952a58 chore: update toolchain 2022-12-02 17:55:27 +01:00
Henrik Böving 72034b0831 feat: linkify builtin types 2022-11-22 21:07:59 +01:00
Henrik Böving b22818b971 feat: render foundational types info 2022-11-22 21:07:59 +01:00
Henrik Böving e402ee94b1 feat: look for builtin type instances 2022-11-22 21:07:59 +01:00
Alex J. Best 6137c9b300 Merge branch 'main' of github.com:leanprover/doc-gen4 into only-linkify-lean 2022-11-06 21:27:31 +01:00
Alex J. Best fc00a41ecb bool 2022-11-06 21:27:26 +01:00
Parth Shastri 664a86e08b fix: minor style improvements 2022-11-06 13:53:23 +01:00
Alex J. Best d62268b013 better 2022-11-05 18:46:20 +01:00
Alex J. Best 07cb0ed1cc fix 2022-11-05 18:28:27 +01:00
Alex J. Best 58fcc5d468 only linkify lean code 2022-11-05 18:18:16 +01:00
Mario Carneiro 9aef28b16e
chore: update toolchain 10-20 (#86) 2022-10-20 19:51:26 +02:00
Henrik Böving 64f627a295
chore: toolchain upgrade (#82)
Halleluja!
2022-10-05 12:05:58 +02:00
Gabriel Ebner 9dc1889de6 chore: update toolchain 2022-08-18 11:33:49 +02:00
Henrik Böving 23ddabb0da
Merge branch 'main' into LeanInkLink 2022-08-11 23:51:26 +02:00
Henrik Böving d43b23ec9f fix: Dont linkify unknown names 2022-08-11 23:35:43 +02:00
Henrik Böving cdfd8ff49c feat: implement facet 2022-08-11 22:58:25 +02:00
Henrik Böving 6534a71cca chore: update toolchain 2022-08-11 18:30:28 +02:00
Henrik Böving d29e14a26a chore: update toolchain and dependencies 2022-08-09 23:30:43 +02:00
Henrik Böving 5bae061b54 fix: mess of monad transformers in LeanInk adapter 2022-07-27 20:11:41 +02:00
Henrik Böving 108d36d0f0 fix: whitespace after declaration without arguments
Closes: #76
2022-07-27 14:19:40 +02:00
Henrik Böving 0ac64f0873 types, types everywhere 2022-07-26 16:26:16 +02:00
Henrik Böving 14afcdbeaf feat: Degrade --ink to flag 2022-07-26 13:56:22 +02:00
Henrik Böving 5a893f4b76 feat: LeanInk backlink step 1 2022-07-26 12:52:41 +02:00
Henrik Böving 5e634cf96a feat: typify the index API 2022-07-25 09:47:59 +02:00
tydeu 2cc851aaf1 fix: include top-level modules in hierarchy and exclude non-html 2022-07-23 22:02:20 -04:00
Henrik Böving 247b930364 feat: instances for 2022-07-23 15:40:08 +02:00
Henrik Böving 3aae640f69 chore: structure ctor style 2022-07-23 13:37:17 +02:00
Henrik Böving 04387711de chore: remove unused variables 2022-07-23 13:04:36 +02:00
Henrik Böving ed4cee2eae chore: style, change $ to <| 2022-07-23 13:01:25 +02:00
Henrik Böving 19ee7dfd97 fix: Safari issues reported by Wojciech Nawrocki 2022-07-22 17:27:35 +02:00
Henrik Böving 5a65c64d4c fix: alignment of navbar 2022-07-22 17:18:09 +02:00
Henrik Böving 95b79c1744 fix: Fix linking of importedBy modules 2022-07-22 17:03:24 +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 c29cf7b70c feat: index shall not depend on importing things 2022-07-22 00:34:13 +02:00
Henrik Böving c35d750e67 feat: Single shall not be transitive 2022-07-21 23:15:20 +02:00
Henrik Böving 0cff3d7cda fix: Javascript errors in the navbar 2022-07-21 23:01:15 +02:00
Henrik Böving eea23d332a feat: Fully separated builds 2022-07-21 22:43:33 +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 80cf5bc96f feat: Renamed finalize to index 2022-07-21 21:19:37 +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 9b2326dec3 feat: merge init and finalize 2022-07-21 19:07:35 +02:00
Henrik Böving 4bc7a682ec feat: implementation of separate staged builds 2022-07-21 18:26:01 +02:00
Henrik Böving fbbdb21795 fix: remove redundant argument 2022-07-21 02:25:26 +02:00
Henrik Böving 9962e5037a prettify: Make the Output.lean refactor prettier 2022-07-21 02:21:07 +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 5f45c8dadc chore: update toolchain 2022-07-20 16:29:18 +02:00
Henrik Böving 351cbc56b6 chore: update lean nightly 2022-07-04 09:11:10 +02:00
Henrik Böving 5b56be76f2 chore: Cleanup HTML syntax and pretty printing 2022-06-21 20:54:29 +02:00
Henrik Böving be3caa9e1a feat: Basic semantic highlighting support 2022-06-20 22:21:48 +02:00
Henrik Böving 49b2f019b7 feat: type hovers 2022-06-20 19:21:50 +02:00
Henrik Böving 9f50966339 feat: initial LeanInk HTML generation 2022-06-20 18:39:55 +02:00
Henrik Böving 199c7af17a feat: LeanInk all the files, HTML generation missing 2022-06-20 00:31:09 +02:00
Henrik Böving 7c9237ffb4 chore: update compiler and lake 2022-06-19 16:41:59 +02:00
Henrik Böving e8fb9a7f0f chore: update to latest nightly 2022-05-27 22:19:34 +02:00
Henrik Böving 036769357a doc: Document Process.Attributes 2022-05-20 09:41:52 +02:00
Henrik Böving e31d544e27 doc: Process.Analyze 2022-05-20 09:30:59 +02:00
Henrik Böving 56bd8c3ced doc: Process.Base 2022-05-20 09:23:33 +02:00
Henrik Böving d519ef6b58 fix: adapt the rest of the program to the process refactor 2022-05-20 00:36:43 +02:00
Henrik Böving b58b1b315b refactor: finally split upt the process module 2022-05-20 00:36:21 +02:00
Henrik Böving 8e70777059 chore: copyright header 2022-05-19 21:56:43 +02:00
Henrik Böving 12fe918b2d doc: Output.Template 2022-05-19 21:53:03 +02:00
Henrik Böving 8e4b7bdb50 doc: Output.Structure 2022-05-19 21:52:54 +02:00
Henrik Böving 3fd17bd261 doc: Output.NotFound 2022-05-19 21:49:50 +02:00
Henrik Böving 94ce87d11a doc: Output.Navbar 2022-05-19 21:49:25 +02:00
Henrik Böving 20e136bb27 refactor: centralized methods for internal linking infrastructure 2022-05-19 21:49:16 +02:00
Henrik Böving e0bf4ad28c doc: Output/Definition 2022-05-19 21:07:44 +02:00
Henrik Böving bdd4a5f612 doc: Output.Base 2022-05-19 21:05:17 +02:00
Henrik Böving 0b8f7a1397 doc: Output top level module 2022-05-19 20:54:42 +02:00
Henrik Böving 653c67e9b7 doc: SourceLinker 2022-05-19 20:52:54 +02:00
Henrik Böving 43f7786523 refactor: pull source linker into submodule 2022-05-19 20:48:26 +02:00
Henrik Böving c05a9cf5e5 doc: Load 2022-05-19 20:45:12 +02:00
Henrik Böving 5fd076530e doc: IncludeStr 2022-05-19 20:41:45 +02:00
Henrik Böving 279df92555 refactor: restructure the modules 2022-05-19 20:41:07 +02:00
Henrik Böving 2e4642e17c chore: port legacy syntax to rawIdent 2022-05-19 17:16:40 +02:00
Sebastian Ullrich 41f6eb0835 refactor: use `rawIdent` 2022-05-19 11:20:58 +02:00
Henrik Böving 24a24d75c7 feat: csimp attribute 2022-04-19 20:28:30 +02:00
Henrik Böving 9a6bf85588 chore: update toolchain 2022-04-19 20:18:28 +02:00
Henrik Böving ea66f7f243 feat: export attribute 2022-04-12 19:11:45 +02:00
Henrik Böving a7c00d95e6 feat: Render doc comments for structure fields 2022-04-09 21:39:34 +02:00