We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27af53c commit f39d082Copy full SHA for f39d082
1 file changed
src/crate/theme/rtd/conf/__init__.py
@@ -19,6 +19,7 @@
19
# with Crate these terms will supersede the license and you may use the
20
# software solely pursuant to the terms of the relevant commercial agreement.
21
import os
22
+import warnings
23
24
from crate.theme import rtd as theme
25
from crate.theme.rtd import __version__
@@ -183,6 +184,14 @@
183
184
linkcheck_retries = 3
185
linkcheck_timeout = 15
186
187
+# Suppress myst-nb deprecation warnings until fixed upstream.
188
+# https://github.com/executablebooks/MyST-NB/issues/645
189
+warnings.filterwarnings(
190
+ "ignore",
191
+ message=r".*myst_nb\.sphinx_\.Parser\.env.*",
192
+ category=DeprecationWarning,
193
+)
194
+
195
# -- Options for MyST -------------------------------------------------
196
myst_heading_anchors = 3
197
myst_enable_extensions = [
0 commit comments