Migrated user guide notebooks to MyST-NB and added sphinx extension - #10685
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov Report
@@ Coverage Diff @@
## branch-22.06 #10685 +/- ##
================================================
+ Coverage 86.35% 86.39% +0.04%
================================================
Files 142 142
Lines 22335 22302 -33
================================================
- Hits 19287 19268 -19
+ Misses 3048 3034 -14
Continue to review full report at Codecov.
|
|
Checked this branch out locally and it looks great! The rendered "notebooks" are also neater than the ones rendered by That being said, there's a downside to moving to Markdown notebooks: the outputs from cell execution aren't included in the source. This means that reviewing significant changes to markdown notebooks is pretty much impossible without checking out the branch locally and running the notebooks manually. Longer-term, I can imagine CI building docs on every doc-touching PR and providing a way to preview the rendered docs to make review easier. That would still not be quite as nice as ReviewNB :( |
There was a problem hiding this comment.
@mmccarty, can you add sphinx-autobuild to https://github.com/rapidsai/integration/blob/branch-22.06/conda/recipes/rapids-doc-env/meta.yaml and myst-nb to https://github.com/rapidsai/integration/blob/branch-22.06/conda/recipes/rapids-notebook-env/meta.yaml?
That will need to be done before ops can approve this PR.
|
Will do! Thanks @ajschmidt8 |
|
@ajschmidt8 I'm pretty sure those dependencies are only needed in the docs environment. Where we ended up should not impact notebook execution in Jupyter. |
|
It looks like ORC section in Here is a comparison of Same in Can we get the horizontal scroll with |
|
@galipremsagar looks related to jupyter-book/jupyter-book#1611 perhaps? |
Yes, to fix it we will have to add the following rule in https://github.com/rapidsai/cudf/blob/branch-22.06/docs/cudf/source/_static/params.css .output.text_html {
overflow: auto;
} |
|
rerun tests |
|
Looking into the CI failures here. |
|
rerun tests |
1 similar comment
|
rerun tests |
vyasr
left a comment
There was a problem hiding this comment.
One minor request to add a comment, otherwise LGTM.
|
I committed my proposed change since it looks like this PR is otherwise ready to merge pending tests passing. |
|
@gpucibot merge |
Follow-up from #10685 to fix deprecation warnings in the 10 minute notebook. Fixes: #10613 Changes: - Fixed deprecation warning for `Series.applymap` ➡️ `Series.apply` - Removed two cells demonstrating `Series.append`. This has also been removed from the Pandas 10 minute notebook because the feature is deprecated. - Refactored ORC file path logic to be a bit simpler Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Mike McCarty (https://github.com/mmccarty) - GALI PREM SAGAR (https://github.com/galipremsagar) URL: #10738


This PR adds MyST-NB to the sphinx docs build. This will allow the notebooks to be executed when the docs are built to ensure they stay up-to-date with the latest version of the software.
myst-nb10min.ipynbnotebook to find test data file path.