From 8d3484686d216e48bac4ab6e9fb67bf8475568da Mon Sep 17 00:00:00 2001 From: agardner Date: Thu, 27 Apr 2017 13:27:05 +0200 Subject: Add infra submodule document how to add submodules clean up some spacing Change-Id: I7640f123911650dcf31933ed2fbfbdd26620798a Signed-off-by: agardner --- docs/how-to-use-docs/include-documentation.rst | 15 +++++++++++++++ docs/submodules/infra | 1 + 2 files changed, 16 insertions(+) create mode 160000 docs/submodules/infra (limited to 'docs') diff --git a/docs/how-to-use-docs/include-documentation.rst b/docs/how-to-use-docs/include-documentation.rst index 1430b946d..0bc3264b6 100644 --- a/docs/how-to-use-docs/include-documentation.rst +++ b/docs/how-to-use-docs/include-documentation.rst @@ -226,3 +226,18 @@ Your documentation shall be built as HTML inside the specified output folder directory. .. note:: Be sure to remove the `conf.py`, the static/ files and the output folder from the `/docs/`. This is for testing only. Only commit the rst files and related content. + + +Adding your project repository as a submodule +-------------------------- + +Clone the opnfvdocs repository and your submodule to .gitmodules following the convention of the file + +.. code-block:: bash + + cd docs/submodules/ + git submodule git https://gerrit.opnfv.org/gerrit/$reponame + git submodule init $reponame/ + git submodule update $reponame/ + git add . + git review diff --git a/docs/submodules/infra b/docs/submodules/infra new file mode 160000 index 000000000..1297f44c1 --- /dev/null +++ b/docs/submodules/infra @@ -0,0 +1 @@ +Subproject commit 1297f44c1bb0e9b0e2b9620b73190bec00604c24 -- cgit 1.2.3-korg