1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
|
From: Roland Mas <lolando@debian.org>
Date: Tue, 29 Aug 2023 15:51:34 +0200
Subject: Skip failing example in the gallery
---
doc/conf.py | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 55 insertions(+), 4 deletions(-)
diff --git a/doc/conf.py b/doc/conf.py
index cee5f4a..6348f9e 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -51,11 +51,62 @@ apidoc_separate_modules = True
# Sphinx Gallery
# the following files are ignored from gallery processing
-ignore_files = ['plotting/export.py',
- 'gloo/geometry_shader.py',
+ignore_files = [
+ # examples/basics/scene/
+ 'stereo.py',
+
+ # examples/basics/visuals/
+ 'image_visual.py',
+
+ # examples/demo/gloo/
+ 'brain.py',
+ 'molecular_viewer.py',
+ 'skybox.py',
+
+ # examples/demo/gloo/galaxy/
+ 'galaxy.py',
+
+ # examples/demo/plot/
+ 'plot.py',
+
+ # examples/demo/scene/
+ 'picking.py',
+
+ # examples/gloo/
+ 'geometry_shader.py',
+
+ # examples/jupyter/
+ 'gloo_molecular_viewer.ipynb',
+
+ # examples/offscreen/
+ 'simple_egl.py',
+ 'simple_osmesa.py',
+
+ # examples/plotting/
+ 'export.py',
+ 'volume_plot.py',
+
+ # examples/scene/
+ 'clipping_planes.py',
+ 'contour.py',
+ 'face_picking.py',
+ 'flipped_axis.py',
+ 'image.py',
+ 'image_custom_kernel.py',
+ 'instanced_mesh.py',
+ 'instanced_mesh_visual.py',
+ 'mesh_normals.py',
+ 'mesh_shading.py',
+ 'mesh_texture.py',
+ 'one_cam_two_scenes.py',
+ 'one_scene_four_cams.py',
+ 'volume.py',
+ 'volume_plane.py',
+
+ # examples/scene/realtime_data/
+ 'ex03c_data_sources_threaded_events.py',
]
-ignore_pattern_regex = [re.escape(os.sep) + f for f in ignore_files]
-ignore_pattern_regex = "|".join(ignore_pattern_regex)
+ignore_pattern_regex = "|".join([re.escape(f) for f in ignore_files])
sphinx_gallery_conf = {
'examples_dirs': ['../examples/gloo', '../examples/scene', '../examples/plotting'],
|