IMPROVE: Support Sphinx v4 (#1448)
* Update version pins for sphinx4 upgrade * upgrade jupytext to support markdown-it-py required by myst-parser * update sphinx-book-theme * upgrade sphinx-jupyterbook-latex to 0.4.3 * remove html_add_permalink as deprecated in sphinx>=3.5 * fix test_build test set * fix test_sphinx_multitoc_numbering tests with sphinx3,sphinx4 * fix test_tocdirective tests to include sphinx3,sphinx4 fixtures * mathjax3 is now the default so config needs to use mathjax3_config * add warning for sphinx>=4 and _config using mathjax_config * remove myst_url_schemes from default config as set in myst_parser * Update setup.cfg include `nb_merge_sreams` in `myst-nb~=0.13.1` Co-authored-by:Chris Sewell <chrisj_sewell@hotmail.com> * Revert "add warning for sphinx>=4 and _config using mathjax_config" This reverts commit 3f9bf18409cf4140dc6c85d882b5286b82ec41be. * Revert "Revert "add warning for sphinx>=4 and _config using mathjax_config"" This reverts commit d1d74bc5d6c2e59467eae9ddc4bd6c93b5c1acd2. * Update with warning for mathjax config in sphinxv4 including tests * change to report stderr to be more useful * enable tasklist as a myst_enable_extensions default option: * enable myst_dmath_double_inline=True as a default to mirror jupyter notebook * TEST: add a test for additional config passthrough * docs: add section on nb_merge_streams from myst_nb * Update jupyter_book/config.py Co-authored-by:
Chris Holdgraf <choldgraf@berkeley.edu> * migrate to intersphinx * move merge-stdout-stderr to execute docs page * revert fb180ad and leave myst_url_schemes as a configuration option for jb * add myst_dmath_double_inline to schema and update test * add a github issue to remind us to remove this in 0.14 Co-authored-by:
Chris Sewell <chrisj_sewell@hotmail.com> Co-authored-by:
Chris Holdgraf <choldgraf@berkeley.edu>
Showing
- docs/_config.yml 1 addition, 1 deletiondocs/_config.yml
- docs/content/execute.md 19 additions, 0 deletionsdocs/content/execute.md
- jupyter_book/config.py 29 additions, 1 deletionjupyter_book/config.py
- jupyter_book/config_schema.json 4 additions, 0 deletionsjupyter_book/config_schema.json
- jupyter_book/default_config.yml 3 additions, 2 deletionsjupyter_book/default_config.yml
- setup.cfg 9 additions, 9 deletionssetup.cfg
- tests/test_build.py 4 additions, 1 deletiontests/test_build.py
- tests/test_build/_toc_numbered.sphinx3.html 0 additions, 0 deletionstests/test_build/_toc_numbered.sphinx3.html
- tests/test_build/_toc_numbered.sphinx4.html 0 additions, 0 deletionstests/test_build/_toc_numbered.sphinx4.html
- tests/test_build/_toc_numbered_depth.sphinx3.html 0 additions, 0 deletionstests/test_build/_toc_numbered_depth.sphinx3.html
- tests/test_build/_toc_numbered_depth.sphinx4.html 0 additions, 0 deletionstests/test_build/_toc_numbered_depth.sphinx4.html
- tests/test_build/_toc_numbered_depth_parts_subset.sphinx3.html 0 additions, 0 deletions.../test_build/_toc_numbered_depth_parts_subset.sphinx3.html
- tests/test_build/_toc_numbered_depth_parts_subset.sphinx4.html 65 additions, 0 deletions.../test_build/_toc_numbered_depth_parts_subset.sphinx4.html
- tests/test_build/_toc_numbered_parts.sphinx3.html 0 additions, 0 deletionstests/test_build/_toc_numbered_parts.sphinx3.html
- tests/test_build/_toc_numbered_parts.sphinx4.html 58 additions, 0 deletionstests/test_build/_toc_numbered_parts.sphinx4.html
- tests/test_build/_toc_numbered_parts_subset.sphinx3.html 0 additions, 0 deletionstests/test_build/_toc_numbered_parts_subset.sphinx3.html
- tests/test_build/_toc_numbered_parts_subset.sphinx4.html 65 additions, 0 deletionstests/test_build/_toc_numbered_parts_subset.sphinx4.html
- tests/test_config.py 54 additions, 1 deletiontests/test_config.py
- tests/test_config/test_config_sphinx_command.txt 1 addition, 2 deletionstests/test_config/test_config_sphinx_command.txt
- tests/test_config/test_config_sphinx_command_only_build_toc_files.txt 1 addition, 2 deletions...onfig/test_config_sphinx_command_only_build_toc_files.txt
Loading
Please register or sign in to comment