script: gather installer config guides automatically 67/9967/1
authorRyota MIBU <r-mibu@cq.jp.nec.com>
Mon, 15 Feb 2016 02:58:38 +0000 (11:58 +0900)
committerRyota Mibu <r-mibu@cq.jp.nec.com>
Mon, 15 Feb 2016 11:26:46 +0000 (11:26 +0000)
Change-Id: Ib69f029ec5673e94d16b54df46952c5f17cfd5aa
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
(cherry picked from commit c510e2c65b782cb20895a4fcf79cf2cd30dfbd8d)

build-composite.sh
docs/configguide/installer-config.rst
docs/configguide/installerconfig-apex.rst [deleted file]
docs/configguide/installerconfig-fuel.rst [deleted file]
docs/configguide/installerconfig-joid.rst [deleted file]

index 574c4ec..8e4c75e 100755 (executable)
@@ -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
index ad10cb4..3569d4e 100644 (file)
@@ -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 (file)
index 2729565..0000000
+++ /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 (file)
index 2a66ea1..0000000
+++ /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 (file)
index cd4e5e2..0000000
+++ /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