-
Notifications
You must be signed in to change notification settings - Fork 82
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
JLD2 doesn't recognise types during Documenter builds #328
Comments
JLD2 usually throws a warning when it cannot reconstruct a struct. Can you please check the stderr (e.g. CI log ?) |
Hmm, indeed. Looks like that module is coming from documenter. |
It should be possible to fool
So in this case
|
This fixes the docs build. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! I'm trying to generate documentation, some of which uses JLD2. If I define a struct, and
@save
it, it works. However, when loading back in, JLD2 doesn't recognise the struct type even though it's in the same module. This only occurs during Documenter builds. Consider the following mockup:mockup.jl file
Using
Literate.markdown("mockup.jl")
mockup.md
After building as a Documenter page:
![image](https://user-images.githubusercontent.com/23384717/122042330-a263d580-cdf7-11eb-860c-64806768aa43.png)
The type is reconstructed even though it was defined right there.
The text was updated successfully, but these errors were encountered: