fix docs config files 41/134741/4
authorthmsdt <thomas.kulik@telekom.de>
Thu, 1 Jun 2023 13:05:29 +0000 (15:05 +0200)
committerthmsdt <thomas.kulik@telekom.de>
Thu, 1 Jun 2023 13:49:55 +0000 (15:49 +0200)
Issue-ID: DOC-811

Signed-off-by: thmsdt <thomas.kulik@telekom.de>
Change-Id: I4a7d253f87f4df244e6bde399a84cb57f2cc288d

12 files changed:
.gitreview
docs/OCLIP.rst
docs/OOM_and_HEAT_based_deployment.rst
docs/architecture.rst
docs/cmd_help_onap_amsterdam.rst
docs/cmd_help_onap_beijing.rst
docs/cmd_sample_onap_amsterdam.rst
docs/conf.py
docs/console.rst
docs/open_cli_schema_version_1_0.rst
docs/release-notes.rst
docs/tox.ini

index 2b84548..5c62a83 100644 (file)
@@ -2,4 +2,4 @@
 host=gerrit.onap.org
 port=29418
 project=cli.git
-defaultbranch=master
\ No newline at end of file
+defaultbranch=london
\ No newline at end of file
index de7d623..13375b8 100644 (file)
@@ -2,6 +2,8 @@
 .. http://creativecommons.org/licenses/by/4.0
 .. Copyright 2017 Huawei Technologies Co., Ltd.
 
+:orphan:
+
 .. _OCLIP:
 
 Open CLI Platform (OCLIP)
index d7efdf1..fd20a17 100644 (file)
@@ -10,7 +10,7 @@ CLI deployment using OOM and HEAT
 ONAP CLI deployment is enabled with OOM and HEAT based ONAP installation.
 
 OpenStack HEAT based deployment
-------------------------------
+-------------------------------
 
 As part of HEAT based deployment, ONAL CLI docker image is integrated into ONAP Portal and when portal_vm is
 successfully installed, it will be available at http://portal.api.simpledemo.openecomp.org:8080
@@ -24,4 +24,3 @@ ONAL CLI docker image is integrated with OOM and is available under name 'cli'
 
 Once successfully installed, CLI is available under onap-cli name-space. So user can access the CLI at
 http://<k8s-host>:30260
-
index 95953b7..95da192 100644 (file)
@@ -13,10 +13,10 @@ Following diagram shows the high-level architecture of OCLIP.
 .. image:: images/portal-cli-arch.png
 
 * **Command Registrar** :  Registrar keeps track of the commands registered in OCLIP and when user invokes the command,
-it identifies the corresponding command and helps to invoke the corresponding command plug-in.
+  it identifies the corresponding command and helps to invoke the corresponding command plug-in.
 
 * **Command Discoverer** : Discoverer discovers the commands both in plug-in format and YAML and automatically register
-them into Registrar.
+  them into Registrar.
 
 * **Command Plug-in** : Implement the command as plug-in. More details :ref:`cli_developer_guide`
 
@@ -31,3 +31,4 @@ them into Registrar.
 * **Cache** : Provides persistent storage for discoverer to store the meta-data about the discovered Commands.
 
 * **open cli schemas** : Set of command YAML provides the CLI definitions.
+
index c18412d..3981735 100644 (file)
@@ -2,6 +2,7 @@
 .. http://creativecommons.org/licenses/by/4.0
 .. Copyright 2018 Huawei Technologies Co., Ltd.
 
+:orphan:
 
 .. toctree::
    :maxdepth: 2
index bd572cd..1bf74a4 100644 (file)
@@ -2,6 +2,7 @@
 .. http://creativecommons.org/licenses/by/4.0
 .. Copyright 2018 Huawei Technologies Co., Ltd.
 
+:orphan:
 
 .. toctree::
    :maxdepth: 2
@@ -1241,9 +1242,8 @@ Error::
 
 
 
- license-group-show
------------------------------------------------
-
+license-group-show
+------------------
 
 usage: oclip license-group-show
 
index a77615e..2e2d47d 100644 (file)
@@ -2,7 +2,7 @@
 .. http://creativecommons.org/licenses/by/4.0
 .. Copyright 2018 Huawei Technologies Co., Ltd.
 
-.. _cli_cmd_sample:
+.. _cli_cmd_sample_amsterdam:
 
 
 onap-amsterdam
index 70937d7..32e9045 100644 (file)
@@ -1,11 +1,16 @@
 project = "onap"
-release = "master"
-version = "master"
+release = "london"
+version = "london"
+branch = 'london'
 
 author = "Open Network Automation Platform"
 # yamllint disable-line rule:line-length
 copyright = "ONAP. Licensed under Creative Commons Attribution 4.0 International License"
 
+exclude_patterns = [
+    '.tox'
+]
+
 pygments_style = "sphinx"
 html_theme = "sphinx_rtd_theme"
 html_theme_options = {
@@ -30,14 +35,10 @@ extensions = [
 # Change to {releasename} after you have created the new 'doc' branch.
 #
 
-branch = 'latest'
-
 intersphinx_mapping = {}
 doc_url = 'https://docs.onap.org/projects'
 master_doc = 'index'
 
-exclude_patterns = ['.tox']
-
 spelling_word_list_filename='spelling_wordlist.txt'
 spelling_lang = "en_GB"
 
index acde93e..2bfd508 100644 (file)
@@ -14,7 +14,7 @@ After installation, CLI can be used in following form:
 Linux Command Shell
 -------------------
 It is available when user has access to the server where CLI is installed using zip or docker container.
-In this mode, user can use CLI in scripting mode or interactive mode as mentioned in :ref:`user_guide`
+In this mode, user can use CLI in scripting mode or interactive mode as mentioned in :ref:`cli_user_guide`
 
 .. image:: images/portal-cli-shell.png
 
index 634052e..9d85450 100644 (file)
@@ -2,6 +2,8 @@
 .. http://creativecommons.org/licenses/by/4.0
 .. Copyright 2017 Huawei Technologies Co., Ltd.
 
+:orphan:
+
 .. _open_cli_schema_version_1_0:
 
 Open Command Line Interface (CLI) Schema Version (OCS) 1.0
@@ -89,7 +91,7 @@ the following format:
 
 
 parameters
----------
+----------
 Every command has set of arguments to provide the input values and *parameters*
 section allows to add the required arguments details such as name, description,
 etc as list of entries.
@@ -702,6 +704,7 @@ value. So the none auth is defined by:
 section default_parameters
 
 --------------------
+
 request
 ~~~~~~~
 *request* section captures all HTTP request information as:
index 19c0478..1a29db9 100644 (file)
@@ -40,7 +40,7 @@ Version: 6.0.0
 
 1. Enabled auto discover and registration of products functionalities as commands
 
-2. Profile managment commands are added
+2. Profile management commands are added
 
 *Security Notes*
 
@@ -147,14 +147,14 @@ Version: 2.0.5
 CLI code has been formally scanned during build time using NexusIQ and all Critical vulnerabilities
 have been addressed, items that remain open have been assessed for risk and determined to be false
 positive. The CLI open Critical security vulnerabilities and their risk assessment have been
-documented as part of the `project <https://wiki.onap.org/pages/viewpage.action?pageId=45298770>`_.
+documented as part of the `project <https://wiki.onap.org/pages/viewpage.action?pageId=45298770>`__.
 
 Quick Links:
     - `CLI project page <https://wiki.onap.org/display/DW/Command+Line+Interface+Project>`_
 
     - `Passing Badge information for CLI <https://bestpractices.coreinfrastructure.org/en/projects/1540>`_
 
-    - `Project Vulnerability Review Table for CLI <https://wiki.onap.org/pages/viewpage.action?pageId=45298770>`_
+    - `Project Vulnerability Review Table for CLI <https://wiki.onap.org/pages/viewpage.action?pageId=45298770>`__
 
 
 Version: 2.0.0
@@ -181,7 +181,7 @@ by using CLI as portal does not support.
 In addition, it made following changes to OCS 1.0
 
 * http profile is enabled with service section to capture micro-service catalog and auth information
-and body section could be customized using context.
+  and body section could be customized using context.
 
 * New default parameters verify and context are added.
 
@@ -202,14 +202,14 @@ and body section could be customized using context.
 CLI code has been formally scanned during build time using NexusIQ and all Critical vulnerabilities
 have been addressed, items that remain open have been assessed for risk and determined to be false
 positive. The CLI open Critical security vulnerabilities and their risk assessment have been
-documented as part of the `project <https://wiki.onap.org/pages/viewpage.action?pageId=28377287>`_.
+documented as part of the `project <https://wiki.onap.org/pages/viewpage.action?pageId=28377287>`__.
 
 Quick Links:
     - `CLI project page <https://wiki.onap.org/display/DW/Command+Line+Interface+Project>`_
 
     - `Passing Badge information for CLI <https://bestpractices.coreinfrastructure.org/en/projects/1540>`_
 
-    - `Project Vulnerability Review Table for CLI <https://wiki.onap.org/pages/viewpage.action?pageId=28377287>`_
+    - `Project Vulnerability Review Table for CLI <https://wiki.onap.org/pages/viewpage.action?pageId=28377287>`__
 
 Version: 1.1.0
 --------------
index 4bbc640..44de447 100644 (file)
@@ -8,11 +8,11 @@ basepython = python3.8
 deps =
     -r{toxinidir}/requirements-docs.txt
     -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
-    -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
+    -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=london
 commands =
-    sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
+    sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
     echo "Generated docs available in {toxinidir}/_build/html"
-whitelist_externals =
+allowlist_externals =
     echo
     git
     sh
@@ -22,13 +22,13 @@ basepython = python3.8
 #deps = -r{toxinidir}/requirements-docs.txt
 commands = echo "Link Checking not enforced"
 #commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
-whitelist_externals = echo
+allowlist_externals = echo
 
 [testenv:docs-spellcheck]
 basepython = python3.8
 deps =
     -r{toxinidir}/requirements-docs.txt
     -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
-    -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
+    -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=london
 commands =
     sphinx-build -W -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck