From 96a533102765535eead4f1dbad46a6b520c0536a Mon Sep 17 00:00:00 2001 From: sai-neetha Date: Thu, 8 Aug 2019 12:46:00 +0200 Subject: pom file added to readthedocs and change in script pom file added to readthedocs and change in script Issue-ID: SDNC-841 Signed-off-by: sai-neetha Change-Id: I44be2d1bc5fba164f67746a5bcac49199ed433fd --- sdnr/wt/readthedocs/convert.sh | 8 +- sdnr/wt/readthedocs/pom.xml | 87 ++++++++++++++++++++++ .../src/assembly/assemble_mvnrepo_zip.xml | 49 ++++++++++++ 3 files changed, 140 insertions(+), 4 deletions(-) create mode 100644 sdnr/wt/readthedocs/pom.xml create mode 100644 sdnr/wt/readthedocs/src/assembly/assemble_mvnrepo_zip.xml (limited to 'sdnr') diff --git a/sdnr/wt/readthedocs/convert.sh b/sdnr/wt/readthedocs/convert.sh index 5ab3d7576..435751eb6 100755 --- a/sdnr/wt/readthedocs/convert.sh +++ b/sdnr/wt/readthedocs/convert.sh @@ -23,9 +23,9 @@ for file in ${markdown_files[@]}; do pandoc -s --toc -f markdown -t rst $file > $PATH_DOC_USERDOC_DST"$rstfile" done -cp -r "$BASEDIR"sdnr/wt/readthedocs/src/home.rst "$BASEDIR"docs/guides/onap-user/ -cp -r "$BASEDIR"sdnr/wt/readthedocs/src/index.rst "$BASEDIR"docs/ +cp "$BASEDIR"sdnr/wt/readthedocs/src/home.rst "$PATH_DOC_USERDOC_DST" +cp "$BASEDIR"sdnr/wt/readthedocs/src/index.rst "$PATH_DOC_DST" -echo "================Creating html==========================================" -/usr/local/bin/sphinx-build -b html $PATH_DOC_DST /home/jack/public_html/sdnr-trial/ +#echo "================Creating html==========================================" +#/usr/local/bin/sphinx-build -b html $PATH_DOC_DST /home/jack/public_html/sdnr-trial/ diff --git a/sdnr/wt/readthedocs/pom.xml b/sdnr/wt/readthedocs/pom.xml new file mode 100644 index 000000000..9450cd800 --- /dev/null +++ b/sdnr/wt/readthedocs/pom.xml @@ -0,0 +1,87 @@ + + + 4.0.0 + + org.onap.ccsdk.features.sdnr.wt + sdnr-wt-readthedocs-installer + 0.5.1-SNAPSHOT + pom + ccsdk-features-sdnr-wt :: ${project.artifactId} + + + org.onap.ccsdk.parent + odlparent-lite + 1.3.2 + + + + + sdnr-wt-apigateway + false + + + + + exec-maven-plugin + org.codehaus.mojo + + + generate readthedocs files from helpserver markdowns + generate-resources + + exec + + + convert.sh + + + + + + maven-assembly-plugin + + + maven-repo-zip + + single + + package + + true + stage/${application.name}-${project.version} + + src/assembly/assemble_mvnrepo_zip.xml + + true + + + + + + maven-resources-plugin + 3.1.0 + + + copy-resources + + + prepare-package + + copy-resources + + + ${project.build.directory}/assembly/docs/ + + + ../../../docs/ + true + + + + + + + + + diff --git a/sdnr/wt/readthedocs/src/assembly/assemble_mvnrepo_zip.xml b/sdnr/wt/readthedocs/src/assembly/assemble_mvnrepo_zip.xml new file mode 100644 index 000000000..c4eb9aa25 --- /dev/null +++ b/sdnr/wt/readthedocs/src/assembly/assemble_mvnrepo_zip.xml @@ -0,0 +1,49 @@ + + + + + + repo + + zip + + + + false + + + + target/assembly/ + . + + + + + + + + -- cgit 1.2.3-korg