| 1 |
From: Baptiste Beauplat <[email protected]> |
| 2 |
Date: Sat, 11 Sep 2021 16:11:20 +0200 |
| 3 |
Subject: Remove unsed intersphinx links |
| 4 |
|
| 5 |
Those links trigger a network connection when building and are not used |
| 6 |
anywhere in the documentation. |
| 7 |
--- |
| 8 |
doc/en/conf.py | 6 +----- |
| 9 |
doc/fr/conf.py | 9 +-------- |
| 10 |
2 files changed, 2 insertions(+), 13 deletions(-) |
| 11 |
|
| 12 |
diff --git a/doc/en/conf.py b/doc/en/conf.py |
| 13 |
index 5b66b16..17b63a7 100644 |
| 14 |
--- a/doc/en/conf.py |
| 15 |
+++ b/doc/en/conf.py |
| 16 |
@@ -27,11 +27,7 @@ on_centreon_rtd = os.environ.get('CENTREON_RTD', None) == 'True' |
| 17 |
|
| 18 |
# Add any Sphinx extension module names here, as strings. They can be extensions |
| 19 |
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
| 20 |
-extensions = ['sphinx.ext.todo', 'sphinx.ext.intersphinx'] |
| 21 |
- |
| 22 |
-intersphinx_mapping = { |
| 23 |
- 'centreon-documentation': ('https://docs.centreon.com/', None), |
| 24 |
- } |
| 25 |
+extensions = ['sphinx.ext.todo'] |
| 26 |
|
| 27 |
# Add any paths that contain templates here, relative to this directory. |
| 28 |
templates_path = ['_templates'] |
| 29 |
diff --git a/doc/fr/conf.py b/doc/fr/conf.py |
| 30 |
index c24fb46..17b63a7 100644 |
| 31 |
--- a/doc/fr/conf.py |
| 32 |
+++ b/doc/fr/conf.py |
| 33 |
@@ -27,14 +27,7 @@ on_centreon_rtd = os.environ.get('CENTREON_RTD', None) == 'True' |
| 34 |
|
| 35 |
# Add any Sphinx extension module names here, as strings. They can be extensions |
| 36 |
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
| 37 |
-extensions = ['sphinx.ext.todo', 'sphinx.ext.intersphinx'] |
| 38 |
- |
| 39 |
-intersphinx_mapping = { |
| 40 |
- 'centreon-engine': ('http://documentation.centreon.com/docs/centreon-engine/en/latest', None), |
| 41 |
- 'centreon-broker': ('http://documentation.centreon.com/docs/centreon-broker/en/latest', None), |
| 42 |
- 'centreon-clib': ('http://documentation.centreon.com/docs/centreon-clib/en/latest', None), |
| 43 |
- 'ces': ('http://documentation.centreon.com/docs/centreon-enterprise-server/en/latest', None), |
| 44 |
- } |
| 45 |
+extensions = ['sphinx.ext.todo'] |
| 46 |
|
| 47 |
# Add any paths that contain templates here, relative to this directory. |
| 48 |
templates_path = ['_templates'] |