-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Remove notebooks, replace with pymc-examples submodule #4348
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
a905780
to
611bb1c
Compare
os.path.join( | ||
os.path.dirname(os.path.dirname(srcdir)), "docs", "source", "pymc-examples", "notebooks" | ||
) |
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.
for now I've put the submodule in docs/source
, later it could be taken out with (Michael had mentioned nbsphinx_link)
I still can't see anything from the 'tutorials' and 'examples' tabs, but I can't see anything there when I build the docs from The rest (e.g. the quickstart button linking to the API quickstart) works fine EDITSorry Colin, just saw your reply about this - will try again and'll let you know! |
Codecov Report
@@ Coverage Diff @@
## master #4348 +/- ##
==========================================
+ Coverage 87.85% 87.95% +0.09%
==========================================
Files 88 88
Lines 14495 14499 +4
==========================================
+ Hits 12734 12752 +18
+ Misses 1761 1747 -14
|
@ColCarroll works now! A few screenshots: Clicking "using shared variables": |
LGTM, definitely release-notes worthy. |
We should probably move the python script examples out, as well as the notebooks. |
Sure, done here and in pymc-devs/pymc-examples#5 |
@fonnesbeck @twiecki what about |
I think it makes sense to keep all the examples together. If the examples get imported as a submodule by default, nothing should break, should it? We can add an informative error message if |
Not sure what you mean here - the submodule is available if you clone the repo and then do Anyway, that feels like a separate discussion - I've reverted changes to |
Hey - re-reading this, I think I may have come across as rude - sorry about this, please allow me to rephrase: I think that moving notebooks out of PyMC3 and putting pymc-examples as a git submodule in their place allows for the docs to keep being built relatively seamlessly. Furthermore, it doesn't change packaging because On the other hand, |
That's fine, it can be a separate PR, as long as they eventually move over. I don't think the |
Sure, thanks - I've opened #4352 for moving out |
That's probably a reasonable solution. Thanks. |
Marking as draft because this breaks with the latest reorganisations in pymc-examples, will get back to it |
works again 🎉 NOTEThis requires pymc-devs/pymc-examples#10 to be merged in order to work if you want to try building the docs locally |
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.
LGTM, thanks @MarcoGorelli !
BTW, can I merge or do we wait for Colin's review? |
@AlexAndorra Merge away. |
No description provided.