-
Notifications
You must be signed in to change notification settings - Fork 662
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
⬆️ UPGRADE: sphinx v3, myst-nb v0.10 #911
Conversation
Codecov Report
@@ Coverage Diff @@
## master #911 +/- ##
==========================================
+ Coverage 92.41% 92.63% +0.21%
==========================================
Files 8 8
Lines 686 760 +74
==========================================
+ Hits 634 704 +70
- Misses 52 56 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
This adds options that are parsed directly to sphinx-build: nitpick, keep-going, and freshenv. These options have then been added to the CI testing, and build warnings resolveed.
Move package imports to inside functions, so that they are "lazy" imported when calling CLI commands.
1dbae4d
to
536eb01
Compare
As reported in #896, a shallow copy of DEFAULT_CONFIG lead to mutations over multiple calls. Here we replace it with a function
536eb01
to
97b8cdb
Compare
When running `jb build -W -n` and a missing reference was identified, a long, superflous error traceback was printed. Instead we simply log a message and exit with the same status code
A JSON schma has been added to validate the _config.yml, and warn of any possible issues.
This fixes a bug identified in the mathjax overrides for amsmath
Commands should be closed, so that the don't eat a subsequent value.
Hey @mmcky @AakashGfude you might want to start looking through this. You can look through the commit history to see what's changed. |
and also @choldgraf, If you have a spare moment in between the diaper changes 😉 |
The sphinx-panels sphinx extension has been added to the base jupyter-book distribution, and its use documented. Some other minor documetation updates have also been applied
Ok, this is nearly done; just the addition of https://github.com/wpilibsuite/sphinxext-rediraffe, and writing the v0.8.0 CHANGELOG I'm looking to merge this and release v0.8.0 in the next ~24-48 hours. |
Actually, in 0cf6f69, I have already modified this; to say that we do now support/test against Windows OS 😄 . But noted the notebook execution issue with Python 3.8 still remains |
FYI also nearly fixed the jupytext issue, so no more myst-parser version incompatabilities or need for |
I'm +1 on giving this a merge if others are 👍 as well. This is a big one and probably better to get it in sooner than later so people have a chance to play with it and see if it breaks things. I guess we should also cut a release relatively quickly since the docs will be even more outdated w/ the latest release once it's merged? |
Well that is what I meant in #911 (comment); I will literally add the "release" commit to this PR, merge, then immediately release v0.8 |
If you want to do that, you need to do it now on this PR |
Yep sounds good 👍 |
jupytext v0.16 now properly integrates with myst-parser>=0.12
The jupytext page is now actually written as an RMarkdown file 😄 https://deploy-preview-911--jupyter-book.netlify.app/file-types/jupytext.html |
@AakashGfude @mmcky you may wish to check out https://deploy-preview-911--jupyter-book.netlify.app/content/figures.html#supported-image-formats, which is of relevance for LaTeX builds |
thanks @chrisjsewell -- the |
Now that's what I call a change log: https://deploy-preview-911--jupyter-book.netlify.app/reference/_changelog.html |
Redirect old content-types pages to file-types
A bit late, but looks good! Good job. |
Add tox for sphinx 2/3 tests, and docs builds
add github CI for sphinx 2/3
add windows support (Add windows 10 support #575)
Add new options to
_config.yml
(including config for turning on all myst-parser extended syntaxes at once?)Add more CLI options related to sphinx (nitpick, keep-going, freshenv)
verbosity CLI option? Question: debug/verbose mode? #585
document new CLI options
Document changes from myst-parser CHANGELOG
Document changes from myst-nb CHANGELOG
Check for documentation improvements to address issues in https://github.com/orgs/executablebooks/projects/5#card-44324532
Improve error reporting (don't show spurious traceback)
Improve testing (move from subprocess to click.CliRunner, fixes test suit needs to have jb in $PATH #896)
Lazy imports for click functions
Replace admonitions with new style
Replace nested bullet-lists with definition lists
add correct myst config to docs
include/document sphinx-panels Include
sphinx-panels
in the base jupyter book distribution? #690Add warning that Python 3.8 on Windows does not currently support notebook execution (jupyter-book build: NotImplementedError on Windows Python 3.8 #906)
add nbclient to versions reported in
jb --version
Add note about sphinx extensions for images (Docs should specify which image types are supported #918)
add redirect for content-type -> file-types pages (using https://github.com/wpilibsuite/sphinxext-rediraffe)
Final look-through of docs
Add v0.8.0 changelog and release commit
Post PR merge TODOs
nb-exec-table