Add caution to not modify ../ in git command 11/88811/1
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Wed, 29 May 2019 15:29:48 +0000 (17:29 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Wed, 29 May 2019 15:29:48 +0000 (17:29 +0200)
Using incorrect repository location is hard to catch during review and
merging it causes all jenkins verify job to fail. Thus let's add a
warning to the documentation to warn potential users and avoid such
incidents.

Issue-ID: SECCOM-239
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I6b00a5bc6f34d33f2576c802eccf541069499d84

docs/guides/onap-developer/how-to-use-docs/include-documentation.rst

index 896c231..8995991 100644 (file)
@@ -58,6 +58,12 @@ The following sequence will do this over ssh.
    If your access network restricts ssh, you will need to use equivalent
    git commands and HTTP Passwords as described `here <http://wiki.onap.org/x/X4AP>`_.
 
+.. caution::
+
+   Don't replace ../ in *git submodule add* with any relative path on
+   your local file system. It refers to the location of your repository
+   on the server.
+
 .. code-block:: bash
 
    git clone ssh://$lfid@gerrit.onap.org:29418/doc
@@ -507,4 +513,3 @@ scan for output that applies to the files you are validating.
 
    tox -espellcheck
    more <  docs/_build/spellcheck/output.txt
-