Skip to content
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

Building the website without Agda #187

Closed
plt-amy opened this issue Feb 5, 2023 · 0 comments · Fixed by #190
Closed

Building the website without Agda #187

plt-amy opened this issue Feb 5, 2023 · 0 comments · Fixed by #190
Assignees
Labels
web For issues/pull requests relating to the 1lab website itself.

Comments

@plt-amy
Copy link
Member

plt-amy commented Feb 5, 2023

Knee-deep in the #186 refactor, getting all of the Agda to check would be a nightmare. But I still want to make sure my diagrams, TeX, etc look right!

Would it be possible to have a "mode" (like -w) which builds only the Literate Agda pages, directly from the Markdown source?

@plt-amy plt-amy added the web For issues/pull requests relating to the 1lab website itself. label Feb 5, 2023
plt-amy added a commit that referenced this issue Feb 24, 2023
Closes #187. 

Currently [Agda code being embedded in code
blocks](https://user-images.githubusercontent.com/4346137/217057817-b10648a1-9419-4f2a-969c-9a2ad9efc323.png)
- I don't know if we want to add a special class to these, so they don't
have a border?

This is implemented by avoiding any build steps which would cause an
Agda compile (specifically `_build/all-pages.json`). The alternative
would be to rely on staler versions of those files, and simply not
rebuild them.

I think what I'm doing here is the correct thing to do. It keeps us
honest with our task dependencies, and means `--skip-agda` works from a
clean build directory. It does mean some site features (namely `agda://`
links) won't work.

Co-authored-by: Amélia <me@amelia.how>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web For issues/pull requests relating to the 1lab website itself.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants