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 22:17:52 +0900
commitb7519539bf10181d248b69486c490df46693b209 (patch)
treef1ad10f5c09cac73391d78bb6c82157ff2825897 /build-composite.sh
parent58a2bb9407285dbf2bac8e32bd55582379c49a6a (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>
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"