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

Option to only rebuild html ? #132

Open
Carreau opened this issue Jan 31, 2024 · 3 comments
Open

Option to only rebuild html ? #132

Carreau opened this issue Jan 31, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Carreau
Copy link
Collaborator

Carreau commented Jan 31, 2024

I was iterating on the css and most of the time I would be ok with sphinx not rebuilding the notebooks, iframe and jupyterlite environement, would there be a way to do so ? Would it be useful ?

@Carreau Carreau added the enhancement New feature or request label Jan 31, 2024
@steppi
Copy link
Collaborator

steppi commented Jan 31, 2024

What I do is just update the css in the build directory of the deployed documentation in order to test out little tweaks like that. As I see it, the css in the source directory specifies default values which can be changed at run time.

@Carreau
Copy link
Collaborator Author

Carreau commented Jul 22, 2024

Similar to #51, though #51 might be complicated to get the caching propoer. Here I'm thinking of an explicit option where you know you don't care and just want to rebuild the html.

@steppi
Copy link
Collaborator

steppi commented Jul 22, 2024

Similar to #51, though #51 might be complicated to get the caching propoer. Here I'm thinking of an explicit option where you know you don't care and just want to rebuild the html.

I see, so the idea is that we wouldn't check if any examples sections with the directive have changed, and just keep the old, possibly out of sync, notebooks? I don't know enough to be sure how difficult it will be, but it sounds reasonable as long as it's documented that users need to ensure on their own that no examples sections have changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants