From: Ryota MIBU Date: Mon, 15 Feb 2016 02:58:38 +0000 (+0900) Subject: script: gather installer config guides automatically X-Git-Tag: brahmaputra.1.0~14 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=ea13f7aae09f2e9e95b27007c3ea4c6f7d4f5b2f;p=opnfvdocs.git script: gather installer config guides automatically Change-Id: Ib69f029ec5673e94d16b54df46952c5f17cfd5aa Signed-off-by: Ryota MIBU (cherry picked from commit c510e2c65b782cb20895a4fcf79cf2cd30dfbd8d) --- diff --git a/build-composite.sh b/build-composite.sh index 574c4ecd9..8e4c75e69 100755 --- a/build-composite.sh +++ b/build-composite.sh @@ -73,10 +73,14 @@ sed -i -e '/^.. figure::/s|images|../projects/promise/configguide/images|' \ echo echo "Creating document links" echo -#for guide in configguide/installer-config.rst configguide/feature-config.rst \ -# configguide/postinatall.rst \ -# userguide/feature-usage.rst userguide/test-usage.rst -for guide in configguide/feature-config.rst +targets=" +configguide/installer-config.rst +configguide/feature-config.rst +" +# configguide/postinatall.rst +# userguide/feature-usage.rst +# userguide/test-usage.rst +for guide in $targets do mainfile="$WORKSPACE/docs/$guide" for repo in $repos diff --git a/docs/configguide/installer-config.rst b/docs/configguide/installer-config.rst index ad10cb4ae..3569d4ed2 100644 --- a/docs/configguide/installer-config.rst +++ b/docs/configguide/installer-config.rst @@ -9,14 +9,4 @@ Installer Configuration The following sections describe the per installer configuration options. Further details for each installer are captured in the referred project documentation. -.. toctree:: - - installerconfig-apex - -.. toctree:: - - installerconfig-fuel - -.. toctree:: - - installerconfig-joid +.. /docs/configguide/installerconfig.rst files will be imported below by the build script. diff --git a/docs/configguide/installerconfig-apex.rst b/docs/configguide/installerconfig-apex.rst deleted file mode 100644 index 272956540..000000000 --- a/docs/configguide/installerconfig-apex.rst +++ /dev/null @@ -1,11 +0,0 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 - -.. NOTE: this is workaround and has to be fixed in each project repo. - -================== -Apex configuration -================== - -.. include:: ../projects/apex/configguide/introduction.rst -.. include:: ../projects/apex/configguide/baremetalinstall.rst diff --git a/docs/configguide/installerconfig-fuel.rst b/docs/configguide/installerconfig-fuel.rst deleted file mode 100644 index 2a66ea1b0..000000000 --- a/docs/configguide/installerconfig-fuel.rst +++ /dev/null @@ -1,4 +0,0 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 - -.. include:: ../projects/fuel/configguide/installerconfig.rst diff --git a/docs/configguide/installerconfig-joid.rst b/docs/configguide/installerconfig-joid.rst deleted file mode 100644 index cd4e5e254..000000000 --- a/docs/configguide/installerconfig-joid.rst +++ /dev/null @@ -1,4 +0,0 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 - -.. include:: ../projects/joid/configguide/installerconfig.rst