Skip to content

Commit

Permalink
wip: working through test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Dec 11, 2023
1 parent 381382e commit 9be46f6
Show file tree
Hide file tree
Showing 17 changed files with 9 additions and 847 deletions.
2 changes: 1 addition & 1 deletion docs/advanced/sphinx.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ You can add LaTeX macros for the whole book by defining them under the `Macros`
```yaml
sphinx:
config:
mathjax_config:
mathjax3_config:
tex:
macros:
"N": "\\mathbb{N}"
Expand Down
3 changes: 1 addition & 2 deletions jupyter_book/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,8 @@ def get_final_config(
_recursive_update(sphinx_config, yaml_config)

# TODO: deprecate this in version 0.14
# Check user specified mathjax_config for sphinx >= 4
# https://github.com/executablebooks/jupyter-book/issues/1502
if sphinx.version_info[0] >= 4 and "mathjax_config" in user_yaml_update:
if "mathjax_path" in user_yaml_update:
# Switch off warning if user has specified mathjax v2
if (
"mathjax_path" in user_yaml_update
Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,10 @@ exclude = [
ignore = [
"E203", # Whitespace before punctuation
]


[tool.pytest.ini_options]
filterwarnings = [
"error",
'ignore:nodes.Node.traverse() is obsoleted by Node.findall():PendingDeprecationWarning'
]
45 changes: 0 additions & 45 deletions tests/test_build/_toc_numbered.sphinx4.html

This file was deleted.

45 changes: 0 additions & 45 deletions tests/test_build/_toc_numbered_depth.sphinx4.html

This file was deleted.

64 changes: 0 additions & 64 deletions tests/test_build/_toc_numbered_depth_parts_subset.sphinx4.html

This file was deleted.

57 changes: 0 additions & 57 deletions tests/test_build/_toc_numbered_parts.sphinx4.html

This file was deleted.

64 changes: 0 additions & 64 deletions tests/test_build/_toc_numbered_parts_subset.sphinx4.html

This file was deleted.

Loading

0 comments on commit 9be46f6

Please sign in to comment.