summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyota MIBU <r-mibu@cq.jp.nec.com>2016-02-15 11:58:38 +0900
committerRyota MIBU <r-mibu@cq.jp.nec.com>2016-02-15 11:59:03 +0900
commitc510e2c65b782cb20895a4fcf79cf2cd30dfbd8d (patch)
tree99517531bf4b38bae56ffef7d880b9e97225ae43
parente0a0a51fd5a903f184be9bf78051b8bec4ab6a2a (diff)
script: gather installer config guides automatically
Change-Id: Ib69f029ec5673e94d16b54df46952c5f17cfd5aa Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
-rwxr-xr-xbuild-composite.sh12
-rw-r--r--docs/configguide/installer-config.rst12
-rw-r--r--docs/configguide/installerconfig-apex.rst11
-rw-r--r--docs/configguide/installerconfig-fuel.rst4
-rw-r--r--docs/configguide/installerconfig-joid.rst4
5 files changed, 9 insertions, 34 deletions
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
+.. <project>/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