Skip to content
Snippets Groups Projects
  1. Mar 14, 2023
  2. Feb 27, 2023
  3. Feb 07, 2023
  4. Jun 20, 2022
  5. May 19, 2022
  6. Apr 08, 2022
  7. Jan 12, 2022
  8. Oct 18, 2021
  9. Oct 14, 2021
    • mmcky's avatar
      IMPROVE: Support Sphinx v4 (#1448) · 03583b91
      mmcky authored
      
      * 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: default avatarChris 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: default avatarChris 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: default avatarChris Sewell <chrisj_sewell@hotmail.com>
      Co-authored-by: default avatarChris Holdgraf <choldgraf@berkeley.edu>
      03583b91
  10. Jul 05, 2021
  11. Jun 21, 2021
  12. May 05, 2021
    • Chris Sewell's avatar
      :recycle:️ REFACTOR: Delegate ToC logic to sphinx-external-toc (#1293) · 18d52700
      Chris Sewell authored
      This commit removes all code related to the `_toc.yml`,
      which is now implemented in https://github.com/executablebooks/sphinx-external-toc.
      This implementation adds a range of new features, including:
      
      - `glob` to specify multiple files with unix-style wildcard
      - `toctree` options: `caption`, `hidden`, `maxdepth`, `numbered`, `titlesonly`
      - The `toctree` are now added directly to the docutils/sphinx AST
        (rather than appending to the source text),
        which means that its is source format agnostic, i.e. will work for rst, md, ipynb, py, ...
      - The `tableofcontents` directive is also handled at the same time as the `toctree` insertion,
        rather than later in a post-transform,
        which avoids having to use any builder specific logic.
      - The `jupyter-book toc` CLI is now a plugin of the sphinx-external-toc CLI, and is split into multiple commands
        - The new `jupyter-book toc to-site` command allows a template project to be generated directly from a `toc.yml`
      
      The format of the `_toc.yml` has been changed slightly.
      To aide users, the code in `jupyter-book build` will check the format is as expected before calling sphinx,
      and point users to the new `jupyter-book toc migrate` command.
      
      This also involved updating `jupyterbook-latex` to `v0.3.0`,
      and removes the `nested-lookup` dependency.
      18d52700
  13. Apr 11, 2021
  14. Mar 12, 2021
  15. Mar 10, 2021
  16. Feb 18, 2021
  17. Feb 03, 2021
  18. Feb 02, 2021
  19. Dec 08, 2020
  20. Nov 25, 2020
  21. Nov 20, 2020
  22. Nov 12, 2020
  23. Oct 12, 2020
  24. Sep 09, 2020
  25. Aug 30, 2020
    • Chris Sewell's avatar
      :sparkles: NEW: Add sphinx-panels integration · 0cf6f69a
      Chris Sewell authored
      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
      0cf6f69a
  26. Aug 29, 2020
    • Chris Sewell's avatar
      :recycle:️ REFACTOR: sphinx config generation · 389d6c54
      Chris Sewell authored
      The generation of sphinx config has been consolidated into a single entry point: `jupyter_book.config:get_final_config`, where before it was spread over yaml.py and sphinx.py, making it difficult to determine what the finaly configuration would be.
      
      This now allows for proper testing of the configuration generation, added in tests/test_config.py, which also clarified some bugs identified in #915. These have now been fixed.
      
      Finally this has also allowed for the addition of a `jb config sphinx` command, which generates the a Sphinx conf.py representation of the build configuration.
      This should help advanced users/maintainers to understand/debug builds.
      389d6c54
Loading