Replies: 6 comments 12 replies
-
We would either have the notion of themes in the annotation processor and you would then contribute your theme to core Quarkus or you could have the option to provide a directory with some overrides for the templates (or both). I would lean towards having a proper theme so that we maintain it for everyone. |
Beta Was this translation helpful? Give feedback.
-
If you have your own theme, you can include it easily. |
Beta Was this translation helpful? Give feedback.
-
Well, that I can't do much. But point 1 would answer it in any case. |
Beta Was this translation helpful? Give feedback.
-
I'm not too excited about it. I would like to keep things minimal on our side because I don't want to have the burden to maintain something we don't use at all. That being said, I moved most of the logic stuff to the annotation processor this week-end so the plugin is now extremely minimal. So if it makes sense for you to have your own, it should be a lot easier than earlier. Now, just to be clear: this is internal, it's not API, use the config model at your own risk. It might be modified from time to time. |
Beta Was this translation helpful? Give feedback.
-
We don't commit the generated docs in Quarkus (we might at some point, see #42447) but more to track the changes to the generated output than anything else. Note that I didn't develop this new infra to have fun (annotation processors are not that fun): we needed to fix the problem of the annotation processor crossing the module boundaries. It was a big problem for us for our Develocity caching (and is not exactly good practice). Now, there's nothing preventing you from generating the doc in the You can already experiment with this sort of things with the Maven plugin we provide (I think). |
Beta Was this translation helpful? Give feedback.
-
Maybe you can afford that because you do not use Antora to publish the site? In Quarkiverse, where the vanilla Antora is used, all .adoc files have to be in Git.
I can understand that perfectly. The world of Quarkus extensions would be much nicer place to live if Antora was able to read files outside the docs folder ¯_(ツ)_/¯ |
Beta Was this translation helpful? Give feedback.
-
Feedback from @ppalaga.
Let's start a thread per comment below.
There are several issues with the current state of the GenerateAsciidocMojo and the annotation processor. Some of them are easy to solve within the current design, some of them are harder:
@since
version if available in JavaDoc. The metadata is correctly passed to yaml. Again, only the Qute template would have to get adjusted. This how we currently render it in Quarkus CXF:Beta Was this translation helpful? Give feedback.
All reactions