-
Notifications
You must be signed in to change notification settings - Fork 56
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
[MPLUGIN-442] Generate goal documentation leveraging Sink API #225
Conversation
...n-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java
Show resolved
Hide resolved
Will happily review, leave me a couple of days... |
Drop XDoc intermediate format
6e1504a
to
ca6df87
Compare
maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/util/PluginUtils.java
Show resolved
Hide resolved
...plugin/src/main/java/org/apache/maven/plugin/plugin/report/AbstractPluginReportRenderer.java
Show resolved
Hide resolved
...eport-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginOverviewRenderer.java
Outdated
Show resolved
Hide resolved
...eport-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginOverviewRenderer.java
Show resolved
Hide resolved
...eport-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginOverviewRenderer.java
Show resolved
Hide resolved
...eport-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginOverviewRenderer.java
Show resolved
Hide resolved
...n-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginReport.java
Show resolved
Hide resolved
...n-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java
Outdated
Show resolved
Hide resolved
...n-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java
Show resolved
Hide resolved
@michael-o Any more comments on the anchors being generated? |
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.
So far so good, let me run and compare myself and think about your open question in the next couple of days...
...n-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java
Show resolved
Hide resolved
e677aa9
to
a92577d
Compare
...n-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java
Outdated
Show resolved
Hide resolved
205de0e
to
f6dc034
Compare
...n-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java
Outdated
Show resolved
Hide resolved
See also checkstyle/checkstyle#13016 |
41ca383
to
1696e35
Compare
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.
This looks good now to me.
if (StringUtils.isNotEmpty(parameter.getDeprecated())) { | ||
String deprecated = getXhtmlWithValidatedLinks(parameter.getDescription(), context); | ||
description = format("parameter.deprecated", deprecated); |
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.
@kwin @michael-o
Is it intended - we check parameter.getDeprecated() but use parameter.getDescription()?
We lost here deprecated reason ... only deprecated label with standard description is printed.
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.
That is a copy-paste mistake. It is supposed to print the deprecation text.
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.
The removed Xdoc generator had it right. @slawekjaranowski Please file an issue. We need to fix this.
Drop XDoc intermediate format