-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agda html #5827
Agda html #5827
Conversation
The build of the metatheory Haskell package ( |
Did you try it? It still doesn't work and I'm not sure why. It doesn't seem to be running the preprocessor at all for some reason. |
Ping @zeme-wana . I've tried various options for the preprocessor extension and it just mysteriously seems to never trigger? I'm very unsure what's going on here. |
You were right about the extension, but it now builds fine in nix on my mac... These hydra test builds all seem to just not bother with the preprocessor - it is producing dozens of errors, each of which is "Can't find file: " and then a MAlonzo file that should be built by the preprocessor. |
Yes, the preprocessor is not running. I think you may find it doesn't work if you |
…initons. (#5839) * Add pointer to issue on the ledger's cost model interface (#5828) * Agda html (#5827) * Moved all Agda files to Markdown. * Added some brief text to the TOC * Fixed the file extension in Setup.hs for the Markdown Agda. * Added all possible file extensions and the preprocessor seems to run now. * Cleaned out .lagda from the cabal file, since everything is .lagda.md now. * chore(deps): bump tj-actions/changed-files from 42 to 43 (#5835) Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 42 to 43. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](tj-actions/changed-files@v42...v43) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Kwxm/correct conformance comments (#5829) * Fix comments in conformance tests * Fix comments in conformance tests * Fix comments in conformance tests * CIP-57: unroll top level types * Extract `goldenJson` function and move it to the `Tests.Lib` * Note about unrolling types * CIP-57: accumulate schema definitions preserving types for safe refs. * Build schema definitions by un-rolling a list of top-level types. * validatorParameters :: [] --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Kenneth MacKenzie <[email protected]> Co-authored-by: Ramsay Taylor <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…initons. (#5839) * Add pointer to issue on the ledger's cost model interface (#5828) * Agda html (#5827) * Moved all Agda files to Markdown. * Added some brief text to the TOC * Fixed the file extension in Setup.hs for the Markdown Agda. * Added all possible file extensions and the preprocessor seems to run now. * Cleaned out .lagda from the cabal file, since everything is .lagda.md now. * chore(deps): bump tj-actions/changed-files from 42 to 43 (#5835) Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 42 to 43. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](tj-actions/changed-files@v42...v43) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Kwxm/correct conformance comments (#5829) * Fix comments in conformance tests * Fix comments in conformance tests * Fix comments in conformance tests * CIP-57: unroll top level types * Extract `goldenJson` function and move it to the `Tests.Lib` * Note about unrolling types * CIP-57: accumulate schema definitions preserving types for safe refs. * Build schema definitions by un-rolling a list of top-level types. * validatorParameters :: [] --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Kenneth MacKenzie <[email protected]> Co-authored-by: Ramsay Taylor <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Moved all Agda files to Markdown. * Added some brief text to the TOC * Fixed the file extension in Setup.hs for the Markdown Agda. * Added all possible file extensions and the preprocessor seems to run now. * Cleaned out .lagda from the cabal file, since everything is .lagda.md now.
This is a small PR to convert all of the metatheory files to Markdown - specifically, everything should now be
.lagda.md
and should be Markdown style Literate Agda. The files have consistent Markdown style code blocks and headings, but not a huge amount of actual text yet.The command
nix build ".#plutus-metatheory-site"
should convert the Agda code to HTML and then the markdown to HTML, resulting in a set of linked and formatted HTML documents. The auto-generated CSS is pretty basic, so this could be augmented before this gets integrated with a release process? The current script uses Jekyll but I have a working Pandoc based bash script if that is preferred.