From: Baptiste Beauplat 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 | 6 +----- doc/fr/conf.py | 9 +-------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/doc/en/conf.py b/doc/en/conf.py index 5b66b16..17b63a7 100644 --- a/doc/en/conf.py +++ b/doc/en/conf.py @@ -27,11 +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-documentation': ('https://docs.centreon.com/', 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']