From d382ab36efe98dc26dcd008e5b5da77cbd056679 Mon Sep 17 00:00:00 2001 From: Emily Ball Date: Wed, 20 Jan 2021 17:03:10 -0800 Subject: [PATCH 1/3] feat: adding pom profile to generate docfx yml from javadoc --- .kokoro/release/common.cfg | 3 ++ pom.xml | 63 +++++++++++++++++++++++--------------- 2 files changed, 41 insertions(+), 25 deletions(-) diff --git a/.kokoro/release/common.cfg b/.kokoro/release/common.cfg index 5cf31b78..88437328 100644 --- a/.kokoro/release/common.cfg +++ b/.kokoro/release/common.cfg @@ -47,3 +47,6 @@ before_action { } } } + +# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/docfx-doclet-1.0-SNAPSHOT-jar-with-dependencies-143274.jar +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx/docfx-doclet-1.0-SNAPSHOT-jar-with-dependencies-143274.jar" \ No newline at end of file diff --git a/pom.xml b/pom.xml index fdcc82a5..fb1f6820 100644 --- a/pom.xml +++ b/pom.xml @@ -653,48 +653,61 @@ - docFX + docFX - + org.apache.maven.plugins maven-javadoc-plugin 3.2.0 - - - site - - aggregate - - - + + + docFX + + javadoc + aggregate + aggregate-jar + + + com.microsoft.doclet.DocFxDoclet - - com.microsoft - docfx-doclet - 1.0-SNAPSHOT - - - - com.google.j2objc - j2objc-annotations - 1.3 - - false - -outputpath ${project.build.directory}/docfx/ - + ${KOKORO_GFILE_DIR}/docfx-doclet-1.0-SNAPSHOT-jar-with-dependencies-143274.jar + -outputpath ${project.build.directory}/docfx-yml + none + protected + true + + + Test helpers packages + com.google.cloud.testing + + + SPI packages + com.google.cloud.spi* + + + + https://googleapis.dev/java/api-common/ + https://googleapis.dev/java/gax/ + https://googleapis.dev/java/google-auth-library/ + + https://developers.google.com/protocol-buffers/docs/reference/java/ + https://googleapis.github.io/common-protos-java/apidocs/ + https://grpc.io/grpc-java/javadoc/ + + - + From 46284b76cd03e5e3d8f2bd4536eeb59cef6029cc Mon Sep 17 00:00:00 2001 From: Emily Ball Date: Thu, 21 Jan 2021 11:39:00 -0800 Subject: [PATCH 2/3] fix: update pom path --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index fb1f6820..948c97d2 100644 --- a/pom.xml +++ b/pom.xml @@ -679,7 +679,7 @@ com.microsoft.doclet.DocFxDoclet false - ${KOKORO_GFILE_DIR}/docfx-doclet-1.0-SNAPSHOT-jar-with-dependencies-143274.jar + ${env.KOKORO_GFILE_DIR}/docfx-doclet-1.0-SNAPSHOT-jar-with-dependencies-143274.jar -outputpath ${project.build.directory}/docfx-yml none protected From c575d9cbe4521c7ba5f662cf0042dff57e71dd74 Mon Sep 17 00:00:00 2001 From: Emily Ball Date: Thu, 21 Jan 2021 12:54:43 -0800 Subject: [PATCH 3/3] fix: update path to be less explicit --- .kokoro/release/common.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.kokoro/release/common.cfg b/.kokoro/release/common.cfg index 88437328..df39efef 100644 --- a/.kokoro/release/common.cfg +++ b/.kokoro/release/common.cfg @@ -48,5 +48,5 @@ before_action { } } -# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/docfx-doclet-1.0-SNAPSHOT-jar-with-dependencies-143274.jar -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx/docfx-doclet-1.0-SNAPSHOT-jar-with-dependencies-143274.jar" \ No newline at end of file +# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file