Commit Graph

267 Commits (f7307953d84be8b1edaff97436e67434111244b0)

Author SHA1 Message Date
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
Henrik Böving 89dd2fa46e chore: upgrade compiler version 2022-04-09 19:30:33 +02:00
Henrik Böving 211ade7828 feat: doc strings in ctors and structure fields 2022-04-09 17:27:06 +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
Siddharth Bhat 4bc149a1fb Fix diff nits 2022-04-07 00:53:06 +01:00
Siddharth Bhat 9570f25312 cleanup code 2022-04-07 00:48:12 +01:00
Siddharth Bhat 9eec1cf1ad URLs now work; Data fetching does not? 2022-04-07 00:31:27 +01:00
Henrik Böving 9cc4c787e6 feat: lake integration 2022-03-06 18:51:06 +01:00
Henrik Böving 5535616725 chore: Bump toolchain 2022-03-06 16:48:49 +01:00
Xubai Wang 5f7d380ab7 refactor: make include_str relative to file 2022-02-26 09:41:25 +08:00
Henrik Böving 34d2239b68 feat: actual CLI 2022-02-23 22:54:10 +01:00
Henrik Böving 9dd5e316c1
Merge pull request #38 from xubaiw/win-find
Windows find support among other things.
2022-02-23 19:44:47 +01:00
Xubai Wang dca4e42665 fix: filter out nonexist modules 2022-02-23 23:33:34 +08:00
Xubai Wang a5dfba5f1c fix: fix navbar centering 2022-02-23 23:09:10 +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 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
Xubai Wang 9e867f5151 refactor: make site-root an actual file 2022-02-21 23:29:23 +08:00
Siddharth Bhat 91891fc4fd Generate relative paths for documentation.
We keep track of the current nesting depth in our Context,
and use this to generate the correct relative path to the root.
2022-02-21 10:14:15 +00:00
Xubai Wang bc0dd3b48a feat: add src endpoint 2022-02-21 01:38:12 +08:00