File: no-gallery.patch

package info (click to toggle)
python-geopandas 0.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,112 kB
  • sloc: python: 6,015; makefile: 151
file content (34 lines) | stat: -rw-r--r-- 1,223 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
30
31
32
33
34
Description: Disable gallery, requires unpacked dependencies.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: not-needed

--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -27,7 +27,6 @@ import sys, os
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
 extensions = ['IPython.sphinxext.ipython_console_highlighting',
               'IPython.sphinxext.ipython_directive',
-              'sphinx_gallery.gen_gallery',
               'sphinx.ext.autosummary',
               'sphinx.ext.intersphinx',
               'sphinx.ext.autodoc',
@@ -46,19 +45,6 @@ templates_path = ['_templates']
 
 autosummary_generate = True
 
-# Sphinx gallery configuration
-sphinx_gallery_conf = {
-    'examples_dirs': ['../../examples'],
-    'filename_pattern': '^((?!sgskip).)*$',
-    'gallery_dirs': ['gallery'],
-    'doc_module': ('geopandas',),
-    'reference_url': {'matplotlib': 'http://matplotlib.org',
-                      'numpy': 'http://docs.scipy.org/doc/numpy/reference',
-                      'scipy': 'http://docs.scipy.org/doc/scipy/reference',
-                      'geopandas': None},
-    'backreferences_dir': 'reference'
-}
-
 # The suffix of source filenames.
 source_suffix = '.rst'