From c510e2c65b782cb20895a4fcf79cf2cd30dfbd8d Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Mon, 15 Feb 2016 11:58:38 +0900 Subject: script: gather installer config guides automatically Change-Id: Ib69f029ec5673e94d16b54df46952c5f17cfd5aa Signed-off-by: Ryota MIBU --- build-composite.sh | 12 ++++++++---- docs/configguide/installer-config.rst | 12 +----------- docs/configguide/installerconfig-apex.rst | 11 ----------- docs/configguide/installerconfig-fuel.rst | 4 ---- docs/configguide/installerconfig-joid.rst | 4 ---- 5 files changed, 9 insertions(+), 34 deletions(-) delete mode 100644 docs/configguide/installerconfig-apex.rst delete mode 100644 docs/configguide/installerconfig-fuel.rst delete mode 100644 docs/configguide/installerconfig-joid.rst diff --git a/build-composite.sh b/build-composite.sh index a4012a129..6643d541f 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" basefilename=$(basename ${guide/-/}) 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 -- cgit 1.2.3-korg