Prepare for links accross different name-spaces 78/125178/1
authorToineSiebelink <toine.siebelink@est.tech>
Thu, 21 Oct 2021 11:11:25 +0000 (12:11 +0100)
committerToineSiebelink <toine.siebelink@est.tech>
Thu, 21 Oct 2021 11:20:12 +0000 (12:20 +0100)
-add intersphinx mapping
-add labels for re-use in other CPS components

Issue-ID: CPS-721

Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Ib45716e75f85bd3ba28295ffe79db95e3575daaa

docs/admin-guide.rst
docs/conf.py
docs/deployment.rst

index 3a6f8e2..7689ee5 100644 (file)
@@ -12,6 +12,9 @@ CPS Admin Guide
 .. toctree::
    :maxdepth: 1
 
+.. Below Label is used by documentation for other CPS components to link here, do not remove even if it gives a warning
+.. _cps_common_logging:
+
 Logging & Diagnostics
 =====================
 
@@ -44,6 +47,9 @@ Logger configuration is provided as a chart resource :
     | ncmp-dmi-plugin                | Not yet applicable to DMI-Plugin                                                                                                |
     +--------------------------------+---------------------------------------------------------------------------------------------------------------------------------+
 
+.. Below Label is used by documentation for other CPS components to link here, do not remove even if it gives a warning
+.. _cps_common_monitoring:
+
 Monitoring
 ==========
 Once CPS-Core is deployed, information related to the running instance of the application is available
@@ -69,4 +75,4 @@ Prometheus Metrics can be checked at the following endpoint
 
 .. code::
 
-    http://<cps-component-service-name>:8081/manage/prometheus
\ No newline at end of file
+    http://<cps-component-service-name>:8081/manage/prometheus
index 3aaddd1..84dac1e 100755 (executable)
 from docutils.parsers.rst import directives
 from docs_conf.conf import *
 
+#change 'latest' to relevant branch-name once branch has been created
 branch = 'latest'
 doc_url = 'https://docs.onap.org/projects'
 master_doc = 'index'
 
 intersphinx_mapping = {}
 
-# Latest (change to branch)
-intersphinx_mapping['onap-cps'] = ('{}/onap-cps/en/%s'.format(doc_url) % branch, None)
+intersphinx_mapping['onap-cps-ncmp-dmi-plugin'] = ('{}/onap-cps-ncmp-dmi-plugin/en/%s'.format(doc_url) % branch, None)
+intersphinx_mapping['onap-cps-cps-temporal'] = ('{}/onap-cps-cps-temporal/en/%s'.format(doc_url) % branch, None)
 
 linkcheck_ignore = [
     'http://localhost',
index 61f9ad2..b1839cb 100644 (file)
@@ -98,7 +98,8 @@ Each cps component can be restarted independently by issuing the following comma
 
     kubectl delete pod <cps-component-pod-name> -n <namespace>
 
-.. _credentials_retrieval:
+.. Below Label is used by documentation for other CPS components to link here, do not remove even if it gives a warning
+.. _cps_common_credentials_retrieval:
 
 Credentials Retrieval
 ---------------------