-
Notifications
You must be signed in to change notification settings - Fork 74
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
Sphinx gallery #63
Sphinx gallery #63
Conversation
[temp] tutorial 1 migrate rename tutorial 1 files [temp] migrate tutorial 2 rename migrate all tutorials Reorganize examples Fix references Remove old doc example
Oh no! I reviewed the wrong PR! |
@LSchueler will do the review later this day. But just a short compliment: THIS IS F+++ING AWESOME. :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy pasta from PR #57:
Hey there! Sorry for being a bit late on this, but:
THIS IS AWESOME
Thanks for your effort. I just have a few comments:
There are warnings from Matplotlib given as output in the generated files. We can suppress them with:
import warnings
warnings.filterwarnings(
"ignore",
category=UserWarning,
message='Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.',
)
See: https://sphinx-gallery.github.io/stable/configuration.html
2. The Herten example takes really long... I don't know if we can somehow speed that up.. but it is working for now, so I am fine with it.
3. I would put the "introduction" at the end and call it "Miscellaneous"
4. tutorial 2 has a strange structuring. I would make some more sub-items
5. I would swap the two sub-items under tutorial 3
6. tutorial 4 could be just one page
Some more comments were made in the review.
We will update the actual examples itself after merging this PR.
Thank you for the effort! You are the contributor of the quarter :-)
Also, the examples generate some temp files like |
Also, when installing locally, the |
I vote for ignoring *.cpp *.vtu, *.vtr and so on. |
On other thing: Could you add a short guide on what an example should look like to the CONTRIBUTING.md? This would be also good for us to know how to add examples the right way ;-) |
Done.
I'm going to leave this as is and let you all modify the examples since I don't know everything that is going on in gstools
Done. I kept it with the
Would it make more sense for you all to organize the examples? I still barely understand everything going on in gstools so you all probably have better insight into how it should be structured.
Like swap order? If so, done.
Hm. Would you want to add more scripts to this tutorial down the road? |
Yeah, definitely! This might take me a bit to geet around to... |
@banesullivan : Just add a short sentence like:
That would be enough I think. And you can leave the examples as they are now. I will have a look at them afterwards for polishing. Thanks again mate! |
And a strange thing is, that the warnings are still shown in my local build... Edit: Sorry, false alarm. Had to remove the generated examples folder before rebuilding the docs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one tiny typo, but I think then all your awesome eye candy can finally be merged!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine now.
Continuation of #57 as there was a branching issue. Now this should properly have
develop
set as the base. See #57 for details and be sure to "squash and merge" on GitHub these changes