Repository navigation
DOC/BLD: Update notebook documentation system - #2816
Conversation
40b9092 to
e748d04
Compare
|
OK, all of the notebooks except for The diff on github is not pretty thanks to all the notebooks. The majority of that is due to the update to notebook version 4. If you diff Next up I'll integrate the new build script into the docs' |
|
One possibility to rescue some more informative changesets is to export and commit the python version. I would like to add this as future commit guideline for notebooks. I expected already that we need at least one uninformative changeset in the notebook upgrades. |
NB: Get most notebooks running
e748d04 to
277c85b
Compare
|
I removed my "WIP" tag a bit early. AFAIK, it should work on python 3, but I'm still working on python2 kernels. I'll ping when I think it's ready for review / merge. |
|
Is it possible to get the website/doc header on the notebook example pages, or is this to much extra complication? or you think it's better this way? |
|
I don't think that will be difficult at all. |
Using nbformat and nbconvert instead of our own custom tools. COMPAT: use io.open and UTF-8 encoding
277c85b to
05419f4
Compare
|
Going to have to push the HTML styling till tomorrow (and possibly next week if I don't get it tomorrow). Anyway, I think we have a cross-platform, python 2/3 compatible doc build now. The only caveat is that you need the development version of nbconvert to do python2 builds ( The biggest change from the last version is replacing almost all the Going forward, what will it take to get this merged? To make review easier, I can split the very first commit TomAugspurger@d423f3f, which converts all the notebooks to version 4, off on its own. Every other commit is tiny compared to that. |
|
splitting out the format conversion, or saving/exporting the python version before and at the end of the PR would make the changes easier to see. However, I thought of just merging whenever you say so. If there is a useful diff for the changes that you made to the notebooks, then that would be helpful. But, I think we have to review the documentation and notebooks anyway. I'm just glad you did this and managed to get it to work. Things that need adjustments, if there are any, or extension like CI integration can be in followups. |
doc the docs ignore datasets
DOCS: Change build process numpydoc was behind, remove that and pip install it instead. Add a build step to copy the generated notebooks to build/html
BUG: Duration.rst is causing ipython issues DOC: VAR examples not running revert changes to statespace typo in regression print statement missing import
05419f4 to
1dd30a0
Compare
|
https://gist.github.com/7524a3144d9c87806bbf shows all the non-notebook conversion changes. Really it's smaller than that since that diff has the deletion of The dev docs are updated to the build from my last commit. I think this is pretty much mergeable now. My todo list is
but those may have to wait a bit. |
|
I'm reading through the gist
that's it general question: |
I believe we do. Jupyter has deprecated the
|
cd2e82f to
5dd3a68
Compare
5dd3a68 to
10d3ed5
Compare
|
Ok, this should be ready. I've fixed all the issues I've seen. The plotting in I've tried to update the I briefly tried to setup travis last night. It shouldn't take too long to get going, but I ran out of time. I'll pick it up again next week hopefully. |
|
I give it a brief look again, and merge it. Thanks a lot. |
|
merging. I might revert the |
DOC/BLD: Update notebook documentation system
|
For the build commands, pandas uses a python file that takes command line arguments like |
Closes #2813
Still a WIP for now. I'll eventually replace
nbgenerate.pywith mine and work it into the doc build process. Also a few compatibility issues in the notebooks that I'll fix up.I'll see if I can upload the output somewhere. It looks pretty good. I'm using
nbconvert==4.1.0andnbformat==4.0.1. I'll put those in the setup.py as aextra_requires.edit (Josef):
see below for comments where the the structure has changed