-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
Create make docs-quick
that reduces docs build time
#2334
Comments
|
Apparently, there is an option to not execute the notebooks according to Alessandro's comment. https://discord.com/channels/764231928676089909/773957956659052605/1238537333964411001 This involves changing Line 128 in 9a90339
https://myst-nb.readthedocs.io/en/v0.12.2/use/execute.html#triggering-notebook-execution Closing this issue. |
I think @jordandsullivan you mentioned you find yourself often in the need to run Footnotes
|
@cosenal If we make changes to the template, it's better to use |
@purva-thakre can you elaborate even more, ideally with a concrete example? I have been making changes to the template, and |
@cosenal Sure! I'll dig through my older PRs and add that example to this discussion later. Working on one such PR made me aware that |
👍 Maybe we are talking about different templates that we are changing. Looking forward to those examples. |
mitiq/Makefile
Lines 34 to 41 in b7b6e1e
The above commands let us build the documentation locally. But as the docs build takes forever, working on documentation layout-related issues becomes unmanageable. For example, #2331 and #2330 are relatively minor issues that could be fixed quickly if one could make minor changes and test the build locally for the layout (repetitively).
I think it would be better to conditionally use the
exclude_patterns
directive to create amake docs-quick
that lets us skip the portions of the documentation that take a loooong time. This is useful if we are testing for the docs layout and not the actual material in the documentation.https://stackoverflow.com/a/34075856
mitiq/docs/source/conf.py
Lines 87 to 90 in b7b6e1e
The text was updated successfully, but these errors were encountered: