Reverting the reffered file reference to direct manual additions.
[opnfvdocs.git] / build-composite.sh
index 2175f5c..bfe33fa 100755 (executable)
@@ -9,7 +9,7 @@ GIT_CLONE_BASE=${GIT_CLONE_BASE:-ssh://gerrit.opnfv.org:29418}
 GERRIT_BRANCH=${GERRIT_BRANCH:-master}
 
 get_repo_names() {
-    # Note: Not all repositories are ready for the composite docs,
+    # NOTE: Not all repositories are ready for the composite docs,
     #       so we have the repo name list here to add project docs
     #       one by one. This will be replaced by the list in project.cfg .
     # grep -v '^#' releng/jjb/opnfvdocs/project.cfg | sort
@@ -43,6 +43,9 @@ for repo in $repos; do
 done
 popd
 
+# NOTE: Removing index.rst in project repos to reduce number of docs.
+find docs_build/projects -type f -name 'index.rst' -print | xargs -I i rm -f i
+
 # NOTE: automated link generation is not ready...
 #echo
 #echo "Creating document links"