File: 0006-skip-plot_football-from-sphinx-gallery-requires-netw.patch

package info (click to toggle)
python-networkx 2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,128 kB
  • sloc: python: 65,077; makefile: 155
file content (20 lines) | stat: -rw-r--r-- 630 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Sandro Tosi <morph@debian.org>
Date: Thu, 7 Jun 2018 17:55:55 -0400
Subject: skip plot_football from sphinx-gallery, requires network access

---
 doc/conf.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/conf.py b/doc/conf.py
index 3cef272..4b73553 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -71,6 +71,7 @@ sphinx_gallery_conf = {
     # path where to save gallery generated examples
     'gallery_dirs': 'auto_examples',
     'backreferences_dir': 'modules/generated',
+    'filename_pattern': '/plot_(?!football)',
     'expected_failing_examples': ['../examples/advanced/plot_parallel_betweenness.py']
 }