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.
- crate/theme/rtd/__init__.py +1 -1
- crate/theme/rtd/conf/__init__.py +13 -0
- crate/theme/rtd/crate/static/bundle/main.js +1 -1
- crate/theme/rtd/crate/static/css/crateio-rtd.css +3 -4
- crate/theme/rtd/crate/static/css/furo-collapsible-toc.scss +10 -0
- crate/theme/rtd/crate/static/js/custom.js +103 -73
- crate/theme/rtd/crate/static/js/swup.js +366 -0
- crate/theme/rtd/sidebartoc.py +2 -0
- {crate_docs_theme-0.49.0.dev0.dist-info → crate_docs_theme-0.50.0.dev0.dist-info}/METADATA +1 -1
- {crate_docs_theme-0.49.0.dev0.dist-info → crate_docs_theme-0.50.0.dev0.dist-info}/RECORD +14 -13
- {crate_docs_theme-0.49.0.dev0.dist-info → crate_docs_theme-0.50.0.dev0.dist-info}/WHEEL +0 -0
- {crate_docs_theme-0.49.0.dev0.dist-info → crate_docs_theme-0.50.0.dev0.dist-info}/licenses/LICENSE +0 -0
- {crate_docs_theme-0.49.0.dev0.dist-info → crate_docs_theme-0.50.0.dev0.dist-info}/licenses/NOTICE +0 -0
- {crate_docs_theme-0.49.0.dev0.dist-info → crate_docs_theme-0.50.0.dev0.dist-info}/top_level.txt +0 -0
crate/theme/rtd/__init__.py
CHANGED
crate/theme/rtd/conf/__init__.py
CHANGED
|
@@ -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 = [
|