-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
"Makefile" like capability for Literate examples? #226
Comments
Are you aware of Documenters draft mode? |
Yes, I sometimes use that and There is one brute-force option I've considered, which is to put every demo in its own repo, because then only one demo at a time would get built by github actions. That would be a maintenance pain though... Another option might be to have one repo with a separate "subpackage" for each demo, each with its own (Note to self, I might run into this issue: JuliaDocs/Documenter.jl#319) |
So the expensive running of the examples are done with Literate, since you pass |
Cool idea - thanks for the tip! I will look into that. |
I have a repo with over 30 Literate demos for a textbook, and no source code under
src/
.https://github.com/JeffFessler/book-mmaj-demo
Every time I edit one of the demos, the Literate/Documenter build reruns all 30+ demos, which takes a long time and might be related to my time-out issue #225.
Is there a way to set up the repo / yaml files / make.jl so that it behaved more like a Makefile would, where the workflow would only rerun the demos that have changed, instead of all of them?
(I've studied the docs for Literate and Documenter and could not find an answer.)
Such a capability could reduce a lot of CO2... Ideas?
The text was updated successfully, but these errors were encountered: