Switch Releng from submodules to intersphinx 29/61829/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Tue, 4 Sep 2018 19:50:48 +0000 (12:50 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Tue, 4 Sep 2018 22:53:55 +0000 (15:53 -0700)
Removes the releng submodule, adds the pre-installed intersphinx to the
list of extentions, and updates the releng links to point to the RTD
site.

Change-Id: I334077920e7aebbecc7e91d586110617622bb609
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
.gitmodules
docs/conf.py
docs/infrastructure/ci.rst
docs/infrastructure/overview.rst

index 4d6455b..f0511b5 100644 (file)
        url = ../qtip
        branch = .
        ignore = dirty
-[submodule "docs/submodules/releng"]
-       path = docs/submodules/releng
-       url = ../releng
-       branch = master
 [submodule "docs/submodules/sdnvpn"]
        path = docs/submodules/sdnvpn
        url = ../sdnvpn
index 9d9f281..45de7d6 100644 (file)
@@ -13,7 +13,8 @@ needs_sphinx = '1.3'
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
 extensions = ['sphinxcontrib.httpdomain', 'sphinx.ext.autodoc',
-              'sphinx.ext.viewcode', 'sphinx.ext.napoleon']
+              'sphinx.ext.viewcode', 'sphinx.ext.napoleon',
+              'sphinx.ext.intersphinx']
 # Disable javasphinx generation until we have a solution to long build
 # times. readthedocs timesout after 902 seconds.
 
@@ -278,5 +279,5 @@ html_sidebars = {'**': ['localtoc.html', 'relations.html'],}
 # If true, do not generate a @detailmenu in the "Top" node's menu.
 # texinfo_no_detailmenu = False
 
-# intersphinx_mapping =
-# {'RTD':('http://opnfvdocsdemo.readthedocs.io/projects/', None)}
+intersphinx_mapping = {}
+intersphinx_mapping['releng'] = ('https://opnfv-releng.readthedocs.io/en/latest', None)
index a6323ef..97429a5 100644 (file)
@@ -10,5 +10,5 @@ Continuous Integration - CI
 
 Please see the details of CI from the chapters below.
 
-- :ref:`CI Overview <ci-overview>`
-- :ref:`CI User Guide <ci-user-guide>`
+- :ref:`CI Overview <releng:ci-overview>`
+- :ref:`CI User Guide <releng:ci-user-guide>`
index 1bd7920..3100907 100644 (file)
@@ -41,10 +41,7 @@ TBD
 Software Infrastructure
 -----------------------
 
-.. toctree::
-   :maxdepth: 1
-
-   ../submodules/releng/docs/infra/index
+- :ref:`releng:software-infrastructure`
 
 Security
 --------