8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 725ee99 commit 8fc2703Copy full SHA for 8fc2703
doc/conf.py
@@ -15,6 +15,7 @@
15
import logging
16
import os
17
from pathlib import Path
18
+import re
19
import shutil
20
import subprocess
21
import sys
@@ -201,6 +202,17 @@ def _check_dependencies():
201
202
warnings.filterwarnings('ignore', category=UserWarning,
203
message=r'(\n|.)*is non-interactive, and thus cannot be shown')
204
205
+
206
+# hack to catch sphinx-gallery 17.0 warnings
207
+def tutorials_download_error(record):
208
+ if re.match("download file not readable: .*tutorials_(python|jupyter).zip",
209
+ record.msg):
210
+ return False
211
212
213
+logger = logging.getLogger('sphinx')
214
+logger.addFilter(tutorials_download_error)
215
216
autosummary_generate = True
217
autodoc_typehints = "none"
218
0 commit comments