Skip to content

Commit

Permalink
🐛 FIX: Suppressing [myst.domains] warning for pdf builds (jupyter-boo…
Browse files Browse the repository at this point in the history
…k#1227)

* suppressing resolve_any_xref issue

* modified fixture files
  • Loading branch information
AakashGfude authored Feb 18, 2021
1 parent 947b30f commit 696b717
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions jupyter_book/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def get_default_sphinx_config():
html_sourcelink_suffix="",
numfig=True,
panels_add_bootstrap_css=False,
suppress_warnings=["myst.domains"],
)


Expand Down
1 change: 1 addition & 0 deletions tests/test_config/test_config_sphinx_command.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ nb_output_stderr = 'show'
numfig = True
panels_add_bootstrap_css = False
pygments_style = 'sphinx'
suppress_warnings = ['myst.domains']
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ final:
numfig: true
panels_add_bootstrap_css: false
pygments_style: sphinx
suppress_warnings:
- myst.domains
metadata:
latex_doc_overrides:
title: My Jupyter Book
Expand Down
2 changes: 2 additions & 0 deletions tests/test_config/test_get_final_config_empty_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ final:
numfig: true
panels_add_bootstrap_css: false
pygments_style: sphinx
suppress_warnings:
- myst.domains
metadata:
latex_doc_overrides:
title: My Jupyter Book
Expand Down
2 changes: 2 additions & 0 deletions tests/test_config/test_get_final_config_exclude_patterns_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ final:
numfig: true
panels_add_bootstrap_css: false
pygments_style: sphinx
suppress_warnings:
- myst.domains
metadata:
latex_doc_overrides:
title: My Jupyter Book
Expand Down
2 changes: 2 additions & 0 deletions tests/test_config/test_get_final_config_execute_method_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ final:
numfig: true
panels_add_bootstrap_css: false
pygments_style: sphinx
suppress_warnings:
- myst.domains
metadata:
latex_doc_overrides:
title: My Jupyter Book
Expand Down
2 changes: 2 additions & 0 deletions tests/test_config/test_get_final_config_extended_syntax_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ final:
numfig: true
panels_add_bootstrap_css: false
pygments_style: sphinx
suppress_warnings:
- myst.domains
metadata:
latex_doc_overrides:
title: My Jupyter Book
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ final:
numfig: true
panels_add_bootstrap_css: false
pygments_style: sphinx
suppress_warnings:
- myst.domains
metadata:
latex_doc_overrides:
title: My Jupyter Book
Expand Down
2 changes: 2 additions & 0 deletions tests/test_config/test_get_final_config_latex_doc_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ final:
numfig: true
panels_add_bootstrap_css: false
pygments_style: sphinx
suppress_warnings:
- myst.domains
metadata:
latex_doc_overrides:
targetname: book.tex
Expand Down
2 changes: 2 additions & 0 deletions tests/test_config/test_get_final_config_launch_buttons_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ final:
numfig: true
panels_add_bootstrap_css: false
pygments_style: sphinx
suppress_warnings:
- myst.domains
metadata:
latex_doc_overrides:
title: My Jupyter Book
Expand Down
2 changes: 2 additions & 0 deletions tests/test_config/test_get_final_config_repository_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ final:
numfig: true
panels_add_bootstrap_css: false
pygments_style: sphinx
suppress_warnings:
- myst.domains
metadata:
latex_doc_overrides:
title: My Jupyter Book
Expand Down
2 changes: 2 additions & 0 deletions tests/test_config/test_get_final_config_sphinx_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ final:
numfig: true
panels_add_bootstrap_css: false
pygments_style: sphinx
suppress_warnings:
- myst.domains
metadata:
latex_doc_overrides:
title: My Jupyter Book
Expand Down
2 changes: 2 additions & 0 deletions tests/test_config/test_get_final_config_title_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ final:
numfig: true
panels_add_bootstrap_css: false
pygments_style: sphinx
suppress_warnings:
- myst.domains
metadata:
latex_doc_overrides:
title: hallo
Expand Down

0 comments on commit 696b717

Please sign in to comment.