Commit Graph

145 Commits (2e4642e17ce8243a8670daf7c3024f6a99e51f37)

Author SHA1 Message Date
Henrik Böving 0efbcd1f60 feat: Newline free HTML formatting
Some of the HTML elements we are generating are newline sensitive
which requires the HTML to String formatter to optionally omit
additional newlines.
2021-12-25 14:04:35 +01:00
Henrik Böving d18e71966c feat: Store Format instead of Syntax in DocInfo 2021-12-18 00:01:31 +01:00
Henrik Böving 4380fe088d feat: Sanitize Syntax 2021-12-17 23:53:06 +01:00
Henrik Böving 3c01cf1e68 feat: Name linking 2021-12-17 17:20:44 +01:00
Henrik Böving ef716c9351 chore: Use builtin Name methods instead 2021-12-17 17:04:56 +01:00
Henrik Böving 2df4891c9f feat: Setup infrastructure for type HTMLifying 2021-12-17 15:59:43 +01:00
Henrik Böving 03ec9c2e1d chore: Cleanup the JSX parser a bit 2021-12-17 15:59:33 +01:00
Henrik Böving dc5c2ab92a chore: Add an HtmlT if we need more monads later on 2021-12-17 15:59:04 +01:00
Henrik Böving cb582aab57 feat: Some more progress logging 2021-12-15 12:02:05 +01:00
Henrik Böving b019faf7ba feat: An initial list of declarations and their kinds 2021-12-15 11:59:36 +01:00
Henrik Böving 2adf5125c1 feat: Fix outputs paths 2021-12-15 11:59:13 +01:00
Henrik Böving d5915fcb13 Revert "feat: Fix siteRoot in JS"
This reverts commit dcd57e8c5f.
2021-12-15 11:25:10 +01:00
Henrik Böving dcd57e8c5f feat: Fix siteRoot in JS 2021-12-15 09:32:21 +01:00
Henrik Böving 686f111438 chore: Split Output.lean into multiple files 2021-12-15 09:24:49 +01:00
Henrik Böving 551eeee09d feat: import nav.js
Just a copy and paste + include in the template, it will most likely
have to be modified in the future.
2021-12-13 21:36:21 +01:00
Henrik Böving ef8ecec0d7 feat: Implement visibility in the navbar 2021-12-13 21:27:08 +01:00
Henrik Böving d2594669fa feat: Revamp the hierarchy mechanism
Previously the hierarchy mechanism wouldn't show modules in files that
have names, equal to some directory with submodules.
2021-12-13 20:47:52 +01:00
Henrik Böving 9256aaa0fc feat: 404 page and module hierarchy 2021-12-13 13:00:53 +01:00
Henrik Böving 5e5bbe6ffb chore: Update lean toolchain 2021-12-12 13:38:31 +01:00
Henrik Böving dbbe11da0a chore: In file licensing 2021-12-12 13:38:31 +01:00
Henrik Böving ded884ce9c feat: HTML Index + CSS 2021-12-12 13:38:31 +01:00
Henrik Böving fcfe11e168 feat: Hierarchy datatype 2021-12-12 13:38:31 +01:00
Henrik Böving 0f0a355a93 feat: include_str macro for static file inclusion 2021-12-12 13:38:31 +01:00
Henrik Böving 0719fd6e30 feat: Allow Array Html as child of an HTMl node 2021-12-12 13:38:31 +01:00
Henrik Böving 413a24da56 feat: improve HTML to String a bit 2021-12-12 13:38:31 +01:00
Henrik Böving c2da7afd76 chore: Update compiler and fix minor breaking change 2021-12-12 13:38:31 +01:00
Henrik Böving e9a9e17439 feat: Basic Html to String converter
It works okay-ish for basic HTML which should be good enough for now
2021-12-12 13:38:31 +01:00
Henrik Böving 11de4f7f55 chore: Import ToHtmlFormat https://github.com/leanprover/lean4/pull/723
Added some slight modifications so it is inside the DocGen4 instead of
the Lean4.Widget namespace.
2021-12-12 13:38:31 +01:00
Henrik Böving 77cb52e9cb chore: Inline licensing 2021-12-12 13:38:31 +01:00
Henrik Böving 7785c9f5bd feat: Fetch declaration ranges for constants 2021-12-12 13:38:31 +01:00
Henrik Böving 29a249e8fd feat: Automatic search path + modules as CLI arguments 2021-12-12 13:38:27 +01:00
Henrik Böving 4d8aa10ecb chore: Little refactoring for Name x Syntax tuples 2021-12-12 13:38:24 +01:00
Henrik Böving 821d57fd1c feat: Also print parents in structures and classes 2021-12-12 13:38:19 +01:00
Henrik Böving b60eca730f chore: Fill universe MVars and remove out of date TODOs 2021-12-12 13:38:11 +01:00
Henrik Böving 82c78d29bd feat: rudimentary structure field support 2021-12-12 13:38:07 +01:00
Henrik Böving b8cf967b84 chore: Focus on basic declarations for now 2021-12-12 13:38:02 +01:00
Henrik Böving ac8d9e254e feat: parenthesize in the pretty printer 2021-12-12 13:37:59 +01:00
Henrik Böving 8c30f29542 feat: Instance support 2021-12-12 13:37:56 +01:00
Henrik Böving a6979dd3d4 feat: Rudamentary class support 2021-12-12 13:37:53 +01:00
Henrik Böving 989e7bce2b feat: Filter projection functions from defs 2021-12-12 13:37:49 +01:00
Henrik Böving 006b92deaa feat: Rudamentary structure support 2021-12-12 13:37:46 +01:00
Henrik Böving 21bcc3d0bc feat: Print definitions and inductives 2021-12-12 13:37:42 +01:00
Henrik Böving d2fddd7cff feat: Print count of declarations and modules processed 2021-12-12 13:37:38 +01:00
Henrik Böving dd0cebb44a feat: Sort everything into modules instead of just declaration lists 2021-12-12 13:37:28 +01:00
Henrik Böving 2574c22e4a feat: First experimentations 2021-12-12 13:37:25 +01:00