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

Link to Picnic's Error Prone Support documentation based on OnlineDocumentation #78

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

timtebeek
Copy link
Contributor

As discussed on #47 , this now links the external docs for additional context, as that shows a diff of before and after that might be helpful for users to go over as well, and gives credit there.

cc @rickie

@timtebeek timtebeek added the documentation Improvements or additions to documentation label Mar 8, 2024
@timtebeek timtebeek requested a review from knutwannheden March 8, 2024 10:04
@timtebeek timtebeek self-assigned this Mar 8, 2024
@@ -466,6 +467,10 @@ private String recipeDescriptor(JCTree.JCClassDecl classDecl, String defaultDisp
}
}
break;
} else if ("tech.picnic.errorprone.refaster.annotation.OnlineDocumentation".equals(annotationFqn)) {
if (annotation.getArguments().isEmpty()) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems rare / unused to have any value here ; they mostly rely on the default value, which isn't immediately easily accessible here for as much as I can tell. Hence why I went for the easiest approach to have some links to the docs already, which we can refine later.

@timtebeek timtebeek merged commit c905275 into main Mar 8, 2024
1 check passed
@timtebeek timtebeek deleted the link-to-picnic-documentation branch March 8, 2024 10:22
@rickie
Copy link

rickie commented Mar 8, 2024

Amazing 🚀 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants