]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Stop using intersphinx
authorAndreas Jaeger <aj@suse.de>
Sat, 13 Sep 2014 07:29:37 +0000 (09:29 +0200)
committerAndreas Jaeger <aj@suse.de>
Sat, 13 Sep 2014 07:29:37 +0000 (09:29 +0200)
Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)

This also removes the requirement for internet access during docs build.

This can cause docs jobs to fail if the project errors out on
warnings.

Change-Id: I71e941e2a639641a662a163c682eb86d51de42fb
Related-Bug: #1368910

doc/source/conf.py

index b2f619a46fa4e694dbf7aecc4951025b04aa400b..32b155b6f3beccdfe2cd70128629d5b49931ffa8 100644 (file)
@@ -44,7 +44,6 @@ sys.path.insert(0, NEUTRON_DIR)
 extensions = ['sphinx.ext.autodoc',
               'sphinx.ext.coverage',
               'sphinx.ext.ifconfig',
-              'sphinx.ext.intersphinx',
               'sphinx.ext.pngmath',
               'sphinx.ext.graphviz',
               'sphinx.ext.todo',
@@ -239,12 +238,3 @@ latex_documents = [
 
 # If false, no module index is generated.
 #latex_use_modindex = True
-
-# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'python': ('http://docs.python.org/', None),
-                       'nova': ('http://nova.openstack.org', None),
-                       'swift': ('http://swift.openstack.org', None),
-                       'glance': ('http://glance.openstack.org', None),
-                       'horizon': ('http://horizon.openstack.org', None),
-                       'keystone': ('http://keystone.openstack.org', None),
-                      }