-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: update docFX config #744
Conversation
<outputpath>${project.build.directory}/docfx-yml</outputpath> | ||
<projectname>${project.artifactId}</projectname> | ||
<excludeclasses></excludeclasses> | ||
<excludePackages></excludePackages> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there repos that depend on overwriting this value to get the behavior they want out of the plugin? Does removing it from additionalOptions thus break them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, some of the handwritten repos have a custom DocFx
profile, like java-bigtable: https://github.com/googleapis/java-bigtable/blob/main/pom.xml#L322
However, their profiles are configured to include any excluded classes and packages which should overwrite the entire default profile, so I don't think removing these additional options here will affect them.
@@ -572,14 +572,9 @@ | |||
</activation> | |||
<properties> | |||
<!-- default config values --> | |||
<docletName>java-docfx-doclet-1.9.0</docletName> | |||
<docletPath>${env.KOKORO_GFILE_DIR}/${docletName}.jar</docletPath> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought this docletPath specifies the JAR file that has implementation of java-docfx-doclet. Don't we still need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're setting the docletPath
directly in the script that publishes the Cloud RAD tarballs here: https://source.corp.google.com/piper///depot/google3/cloud/sdk/client_libraries/kokoro/java/googleapis/java-cloud-bom/release/publish_javadoc17.sh;l=45
so I don't think this is needed.
This should fix #680
The issue is that starting with maven-javadoc-plugin v3.6.0, passing in null parameters into caused javadoc generation to fail. This PR removes that parameter and also updates the javadoc source to use Java 17 source as that is what we're publishing javadocs with now.