Closed johncarl81 closed 2 years ago
You might consider adding @gsmet to the list of reviewers.
Went ahead and squashed... slipped my mind that those were defined for javadoc, good catch @gsmet. Do you have a suggestion for replacement options?
As for the options, I think I would have added an asciidoclet prefix to all the asciidoclet specific options. That would make it clearer and avoid potential conflicts.
Something like --asciidoclet-include
, --asciidoclet-exclude
and potentially (but unrelated) --asciidoclet-attribute
and so on (and I would still support the old syntax for compatibility purposes).
The latter point is out of the scope of this PR but I think it would be nice to be consistent.
Currently, the only difference between standard options and specific options is the fact that the standard option has only one dash. It's a bit weird.
I like being a bit more specific with the options, but I don't think we need to go as far as qualifying them specifically for asciidoclet as there can be only one doclet configured. How about--include-asciidoclet-process
and --exclude-asciidoclet-process
?
@johncarl81 sorry for the late reply. Your proposal looks good to me if you don't want to qualify all the options.
Ok, made those updates... final review time @mojavelinux @msgilligan @gsmet ?
@johncarl81 hmmm, totally missed your last message, do you mind updating the PR as it says it's out of date? Once it's done, I'll do some final testing with Hibernate ORM and Quarkus.
Thanks!
Ok, done @gsmet. Let me know if you need anything.
This would be very useful to us at https://github.com/gradle/gradle. Any chance to get the PR merged?
This PR seemed to have gotten approved, then stuck. For anyone who previously reviewed it, are you still comfortable moving forward with it?
My only hangup is the name of the options. To me, --include-asciidoclet-process
doesn't read very well as a phrase. I would prefer to see one of these:
--include
/ --exclude
(implying we are talking about which ones this doclet should process)--doclet-include
/ --doclet-exclude
--asciidoclet-include
/ --asciidoclet-exclude
--process
/ --skip
If you have other suggestions, please raise them.
If there are no objections in the next 24-48 hours, I will merge this PR.
I like staying somewhat specific here because this filter is for asciidoclet and not the full processing of javadocs. So, I could see us using --asciidoclet-include
/ --asciidoclet-exclude
if we want to be a little more concise. If I get a yay on this, I'll go ahead and make the change.
And just an unfortunate reminder here.. this only applies to the Java 8 doclet.
ok, review and merge @mojavelinux ?
You can go ahead and merge. I was only jumping in to help...but if you've got it, go for it.
:beers:
Addresses https://github.com/asciidoctor/asciidoclet/issues/90