summaryrefslogtreecommitdiffstats
path: root/build-composite.sh
diff options
context:
space:
mode:
authorRyota MIBU <r-mibu@cq.jp.nec.com>2016-02-08 20:32:33 +0900
committerRyota Mibu <r-mibu@cq.jp.nec.com>2016-02-08 13:46:18 +0000
commit9aa067edbc409c04be0de4fc0c2abfa0b157af4d (patch)
treef1ad10f5c09cac73391d78bb6c82157ff2825897 /build-composite.sh
parent2e05184b9b7101e6d2e4ca68b4490dce985baf83 (diff)
configguide: make sections relevant by adding sub-level toctree
This patch wrap each import document with 'toctree' directive so that we can make sure the sections in imported docs won't take any upper level section. This patch also fixes the followings: * path to copper/featureconfig.rst * path to promise/configguide/images/ Change-Id: I52d4e9cd637af5707af418ef287d57d8c301b85e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> (cherry picked from commit b7519539bf10181d248b69486c490df46693b209)
Diffstat (limited to 'build-composite.sh')
-rwxr-xr-xbuild-composite.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-composite.sh b/build-composite.sh
index 2303a5b83..4aef8602a 100755
--- a/build-composite.sh
+++ b/build-composite.sh
@@ -65,6 +65,10 @@ done
# NOTE: Removing index.rst in project repos to reduce number of docs.
find docs/projects -type f -name 'index.rst' -print | xargs -I i rm -f i
+# Correct Image file path (workaround)
+sed -i -e '/^.. figure::/s|images|../projects/promise/configguide/images|' \
+ docs/projects/promise/configguide/featureconfig.rst
+
# NOTE: automated link generation is not ready...
#echo
#echo "Creating document links"