From aa44951faf04e2cddfc537bbc9f6a18d76c76ec1 Mon Sep 17 00:00:00 2001 From: Jan Srnicek Date: Fri, 21 Jul 2017 15:10:46 +0200 Subject: HC2VPP-180 - Doc coverage generator TODO - links to specific vpp api section(now points just to section with apis) TODO - links to specific java binding code(now points to class thats doing binding) TODO - operational coverage(ASM does not support lambda processing) TODO - generate coverage adoc links Change-Id: I44c85012da3bd2e7cdd41930753e5aae6955cd7b Signed-off-by: Jan Srnicek Signed-off-by: Marek Gradzki --- release-notes/pom.xml | 45 ++++++++++++++++++++++ .../src/main/asciidoc/api_docs/api_docs.adoc | 3 ++ .../src/main/asciidoc/api_docs/api_docs_index.adoc | 19 +++++++++ release-notes/src/main/asciidoc/release_notes.adoc | 4 +- 4 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 release-notes/src/main/asciidoc/api_docs/api_docs.adoc create mode 100644 release-notes/src/main/asciidoc/api_docs/api_docs_index.adoc (limited to 'release-notes') diff --git a/release-notes/pom.xml b/release-notes/pom.xml index 1fc670f31..c34c7b45c 100644 --- a/release-notes/pom.xml +++ b/release-notes/pom.xml @@ -31,6 +31,14 @@ 4.0.0 Hc2vpp release notes + + + io.fd.hc2vpp.docs + docs + ${project.version} + + + @@ -50,6 +58,25 @@ + org.apache.maven.plugins + maven-dependency-plugin + 2.10 + + + unpack-configuration + generate-sources + + unpack-dependencies + + + *.adoc + ${project.build.directory}/raw-adoc/api_docs + + + + + + org.asciidoctor asciidoctor-maven-plugin ${asciidoctor.maven.plugin.version} @@ -63,6 +90,9 @@ + + ${project.build.directory}/raw-adoc html5 docbook coderay @@ -100,6 +130,21 @@ maven-resources-plugin + + copy-raw-adoc + generate-sources + + copy-resources + + + ${project.build.directory}/raw-adoc + + + ${project.basedir}/src/main/asciidoc/ + + + + copy-release-notes-to-site site diff --git a/release-notes/src/main/asciidoc/api_docs/api_docs.adoc b/release-notes/src/main/asciidoc/api_docs/api_docs.adoc new file mode 100644 index 000000000..5d519c68d --- /dev/null +++ b/release-notes/src/main/asciidoc/api_docs/api_docs.adoc @@ -0,0 +1,3 @@ +== API documentation + +link:api_docs_index.html[VPP API to Yang index] diff --git a/release-notes/src/main/asciidoc/api_docs/api_docs_index.adoc b/release-notes/src/main/asciidoc/api_docs/api_docs_index.adoc new file mode 100644 index 000000000..08dfeb28f --- /dev/null +++ b/release-notes/src/main/asciidoc/api_docs/api_docs_index.adoc @@ -0,0 +1,19 @@ +== VPP api to Yang index + +// TODO - generate this file based on list of JVPP plugins used + +Mapping between VPP binary apis and JVpp binding in hc2vpp + +include::api_docs/futurejvppcore-yang-config-index.adoc[JVpp Core plugin docs] + +include::api_docs/futurejvppacl-yang-config-index.adoc[JVpp Acl plugin docs] + +include::api_docs/futurejvppsnat-yang-config-index.adoc[JVpp Snat plugin docs] + +include::api_docs/futurejvppnsh-yang-config-index.adoc[JVpp Nsh plugin docs] + +include::api_docs/futurejvppioamtrace-yang-config-index.adoc[JVpp Ioam Trace plugin docs] + +include::api_docs/futurejvppioampot-yang-config-index.adoc[JVpp Ioam Pot plugin docs] + +include::api_docs/futurejvppioamexport-yang-config-index.adoc[JVpp Ioam Export plugin docs] diff --git a/release-notes/src/main/asciidoc/release_notes.adoc b/release-notes/src/main/asciidoc/release_notes.adoc index 7471cda9d..7f9c84a82 100644 --- a/release-notes/src/main/asciidoc/release_notes.adoc +++ b/release-notes/src/main/asciidoc/release_notes.adoc @@ -26,4 +26,6 @@ include::install_guide/install_guide.adoc[] include::user_guide/user_guide.adoc[] -include::devel_guide/devel_guide.adoc[] \ No newline at end of file +include::devel_guide/devel_guide.adoc[] + +include::api_docs/api_docs.adoc[] \ No newline at end of file -- cgit 1.2.3-korg