File: 001_disable-ext.patch

package info (click to toggle)
python-ncclient 0.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 760 kB
  • sloc: python: 5,250; makefile: 83
file content (19 lines) | stat: -rw-r--r-- 997 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Disable 'sphinx.ext.intersphinx' (no internet on buildd)
 Disable sphinx.ext.intersphinx because buildd doesn't have internet
 access (thanks zigo).
 This patch also disable unused and deprecated sphinx.ext.pngmath (refs: #918825)
Author: Sebastien Badia <seb@sebian.fr>
Forwarded: not-needed
Last-Update: 2019-02-13

--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -22,7 +22,7 @@ sys.path.insert(0, os.path.abspath("../.
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.pngmath', 'sphinx.ext.ifconfig']
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.ifconfig']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']