-
Notifications
You must be signed in to change notification settings - Fork 650
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
IMPROVE: Support Sphinx v4 #1448
Conversation
|
Warning, treated as error:
E [jb-latex]: myst-nb version not compatible with >=0.11,<0.13: 0.13.0 |
hey @mmcky - what's the status on this one? Anything we need to do to unblock? It looks like the only remaining piece is the jupyterbook-latex one. I've added that as a task list to the top comment |
@choldgraf working our way through the |
Current build
this must be new coming in from |
Codecov Report
@@ Coverage Diff @@
## master #1448 +/- ##
==========================================
+ Coverage 91.09% 91.17% +0.07%
==========================================
Files 7 7
Lines 674 680 +6
==========================================
+ Hits 614 620 +6
Misses 60 60
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
If the warning is issued then it will also migrate @chrisjsewell @choldgraf what do you think of this solution? From using "mathjax@2" in user_yaml_update["mathjax_path"] is
|
another TODO for you 😉:
|
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.
This looks good to me - I think it's OK if the Sphinx config pattern changes in a subsequent PR, since right now that config is only exposed via the sphinx:
key, which is more of a power-user feature anyway.
Co-authored-by: Chris Holdgraf <choldgraf@berkeley.edu>
thanks @choldgraf @chrisjsewell I'd like LGTM, so let me know if you plan to review and I will hold off until you can do so. |
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.
A quick review thanks @mmcky
@chrisjsewell should
in |
yes, it should assert the type to be boolean |
done in 9a6b5e6 |
thanks @chrisjsewell I think I have addressed your comments now 🎉 |
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.
cheers
looks like |
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.
I think that this one is good to go once tests are happy. I added an extra label to executablebooks/MyST-NB#365 so that the cross-ref works here too. I think we can merge this one once executablebooks/MyST-NB#365 is merged so that the docs work properly :-)
thanks @chrisjsewell and @choldgraf for reviews. Greatly appreciated. |
This PR is to upgrade the
jupyter-book
stack for compatibility withsphinx>=4,<5
Tasks
pdfhtml
to move frommathjax2
tomathjax3
config (as raised by @chrisjsewell MAIN: Enable support for Sphinx>=4 MyST-NB#352 (comment))WARNING: mathjax_config/mathjax2_config does not work for the current MathJax version, use mathjax3_config instead
Additional items identified by @chrisjsewell
myst_enable_extensions
will close Task lists in executable book #1133[Status: Completed in b0258cd]
myst_dmath_double_inline=True
will close Inline display math (double dollar sign) #1181[Status: Completed in d246b70]
myst_url_schemes
can be removed from the default config, since it is now set already[Status: Completed in fb180ad]
mathjax_config
should be warned that they now need to setmathjax2_config
/mathjax3_config
https://www.sphinx-doc.org/en/master/usage/extensions/math.html#confval-mathjax3_config[Status: Completed in 273e9ea]
Docs:
[@chrisjsewell is this just a documentation issue for the release to link to these deprecations?]
[Status: Added d6a8315, but @chrisjsewell let me know if you mean you want more than this listed in the CHANGELOG for the next release]
juputer-book
from ✨ NEW:nb_merge_streams
configuration MyST-NB#364 and tag Coalesce multiple stdout/stderr Notebook outputs into single blocks #973 for closure[Status: Adding some docs on this feature ee38352. This PR shouldn't be merged before https://github.com/Update getting started and reference docs MyST-NB#365]
Fixes:
fixes #1133
fixes #1438
fixes #1181