Render Psydac examples as a sphinx-gallery #402
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm testing Sphinx-Gallery to render some Python scripts under
psydac/examples/*
. This gallery is the same one that Scikit-learn uses. First the doc deployment pipeline needs to be functional; once it works we can decide which example scripts to showcase.When building the docs locally, I get an error
TypeError: isinstance() arg 2 must be a type or tuple of types
:I get the same error for
python3.10
andpython3.11
. Oddly enough I cannot replicate this error either in interactive shell or when running a script. I suspect this issue is related tosphinx-build
itself.@yguclu Could you help to trigger the
build_docs
workflow? I would like to verify whether this error is an artifact of my dev environment or not.