Skip to content
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

Update custom Doclet configuration for javadoc #587

Merged
merged 5 commits into from
Sep 22, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,16 @@
<version>1.3</version>
</additionalDependency>
</additionalDependencies>
<additionalparam>
-hdf book.path /docs/reference/_book.yaml
-hdf project.path /_project.yaml
-hdf devsite.path /docs/reference/admin/java/reference/
-d ${project.build.directory}/apidocs
-templatedir ${devsite.template}
-toroot /docs/reference/admin/java/reference/
-yaml _toc.yaml
-warning 101
</additionalparam>
<additionalOptions>
hiranya911 marked this conversation as resolved.
Show resolved Hide resolved
<additionalOption>-hdf book.path /docs/reference/_book.yaml</additionalOption>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to pass the -Xdoclint:none option here too. Earlier it was provided by the profile whenever JDK 1.8 was available. Now we have to explicitly set it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Added <doclint>none</doclint>

<additionalOption>-hdf project.path /_project.yaml</additionalOption>
<additionalOption>-hdf devsite.path /docs/reference/admin/java/reference/</additionalOption>
<additionalOption>-d ${project.build.directory}/apidocs</additionalOption>
<additionalOption>-templatedir ${devsite.template}</additionalOption>
<additionalOption>-toroot /docs/reference/admin/java/reference/</additionalOption>
<additionalOption>-yaml _toc.yaml</additionalOption>
<additionalOption>-warning 101</additionalOption>
</additionalOptions>
<useStandardDocletOptions>false</useStandardDocletOptions>
<additionalJOption>-J-Xmx1024m</additionalJOption>
</configuration>
Expand Down