File: 0003-Remove-unsed-intersphinx-links.patch

package info (click to toggle)
centreon-plugins 0.0~20221017-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 30,580 kB
  • sloc: perl: 353,497; makefile: 130; xml: 49; python: 35; ansic: 24; sh: 10
file content (51 lines) | stat: -rw-r--r-- 2,293 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
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
From: Baptiste Beauplat <lyknode@debian.org>
Date: Sat, 11 Sep 2021 16:11:20 +0200
Subject: Remove unsed intersphinx links

Those links trigger a network connection when building and are not used
anywhere in the documentation.
---
 doc/en/conf.py | 9 +--------
 doc/fr/conf.py | 9 +--------
 2 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/doc/en/conf.py b/doc/en/conf.py
index c24fb46..17b63a7 100644
--- a/doc/en/conf.py
+++ b/doc/en/conf.py
@@ -27,14 +27,7 @@ on_centreon_rtd = os.environ.get('CENTREON_RTD', None) == 'True'
 
 # 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.todo', 'sphinx.ext.intersphinx']
-
-intersphinx_mapping = {
-	'centreon-engine': ('http://documentation.centreon.com/docs/centreon-engine/en/latest', None),
-	'centreon-broker': ('http://documentation.centreon.com/docs/centreon-broker/en/latest', None),
-	'centreon-clib': ('http://documentation.centreon.com/docs/centreon-clib/en/latest', None),
-        'ces': ('http://documentation.centreon.com/docs/centreon-enterprise-server/en/latest', None),
-	}
+extensions = ['sphinx.ext.todo']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
diff --git a/doc/fr/conf.py b/doc/fr/conf.py
index c24fb46..17b63a7 100644
--- a/doc/fr/conf.py
+++ b/doc/fr/conf.py
@@ -27,14 +27,7 @@ on_centreon_rtd = os.environ.get('CENTREON_RTD', None) == 'True'
 
 # 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.todo', 'sphinx.ext.intersphinx']
-
-intersphinx_mapping = {
-	'centreon-engine': ('http://documentation.centreon.com/docs/centreon-engine/en/latest', None),
-	'centreon-broker': ('http://documentation.centreon.com/docs/centreon-broker/en/latest', None),
-	'centreon-clib': ('http://documentation.centreon.com/docs/centreon-clib/en/latest', None),
-        'ces': ('http://documentation.centreon.com/docs/centreon-enterprise-server/en/latest', None),
-	}
+extensions = ['sphinx.ext.todo']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']