crate-docs-theme 0.49.0.dev0__py3-none-any.whl → 0.50.0.dev0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,7 @@
23
23
 
24
24
  import os
25
25
 
26
- VERSION = (0, 49, 0)
26
+ VERSION = (0, 50, 0)
27
27
 
28
28
  __version__ = ".".join(str(v) for v in VERSION) + ".dev0"
29
29
  __version_full__ = __version__
@@ -19,6 +19,7 @@
19
19
  # with Crate these terms will supersede the license and you may use the
20
20
  # software solely pursuant to the terms of the relevant commercial agreement.
21
21
  import os
22
+ import warnings
22
23
 
23
24
  from crate.theme import rtd as theme
24
25
  from crate.theme.rtd import __version__
@@ -174,6 +175,10 @@ linkcheck_ignore = [
174
175
  "https://www.gnu.org/.*",
175
176
  # Temporary failure in name resolution
176
177
  "https://jupysql.ploomber.io/.*",
178
+ # Sporadic CERTIFICATE_VERIFY_FAILED errors.
179
+ # https://github.com/crate/crate-docs-theme/issues/706
180
+ r"https://example.com.*",
181
+ r"https://www.example.com.*",
177
182
  ]
178
183
  linkcheck_anchors_ignore_for_url = [
179
184
  # Requires JavaScript.
@@ -183,6 +188,14 @@ linkcheck_anchors_ignore_for_url = [
183
188
  linkcheck_retries = 3
184
189
  linkcheck_timeout = 15
185
190
 
191
+ # Suppress myst-nb deprecation warnings until fixed upstream.
192
+ # https://github.com/executablebooks/MyST-Parser/pull/1079
193
+ warnings.filterwarnings(
194
+ "ignore",
195
+ message=r".*myst_nb\.sphinx_\.Parser\.env.*",
196
+ category=DeprecationWarning,
197
+ )
198
+
186
199
  # -- Options for MyST -------------------------------------------------
187
200
  myst_heading_anchors = 3
188
201
  myst_enable_extensions = [