File: Don-t-install-examples-gallery.patch

package info (click to toggle)
ndcube 2.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,996 kB
  • sloc: python: 7,854; makefile: 34
file content (29 lines) | stat: -rw-r--r-- 945 bytes parent folder | download
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
From: Ole Streicher <olebole@debian.org>
Date: Sat, 18 Jan 2025 15:41:26 +0100
Subject: Don't install examples gallery

This gallery depends on remote data.
---
 docs/conf.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index df6fc6b..f2c3d53 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -56,7 +56,6 @@ extensions = [
     'sphinx.ext.napoleon',
     'sphinx.ext.doctest',
     'ndcube.utils.sphinx.code_context',
-    'sphinx_gallery.gen_gallery',
     "sphinxext.opengraph",
     "sphinx.ext.mathjax",
     "sphinx_automodapi.automodapi",
@@ -154,7 +153,6 @@ for line in open('nitpick-exceptions'):
 sphinx_gallery_conf = {
     'backreferences_dir': Path('generated/modules'),
     'filename_pattern': '^((?!skip_).)*$',
-    'examples_dirs': Path('../examples'),
     'within_subsection_order': "ExampleTitleSortKey",
     'gallery_dirs': Path('generated/gallery'),
     'matplotlib_animations': True,