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

Document generation tool #48

Open
knutwannheden opened this issue Jun 17, 2021 · 1 comment
Open

Document generation tool #48

knutwannheden opened this issue Jun 17, 2021 · 1 comment

Comments

@knutwannheden
Copy link

There should be some form of documentation generation tool for a platform. While the documentation for the platform extensions will typically be mostly written by hand, there is probably also aspects which could be generated from the platform.

Quarkus' annotation processor already generates Asciidoc tables documenting all configuration properties (which have been defined in Java code using @ConfigRoot et al.) for each individual extension. In addition there is a tool which generates an overview of all configuration options in the entire platform (see https://github.com/quarkusio/quarkus/blob/main/docs/src/main/java/io/quarkus/docs/generation/AllConfigGenerator.java) by concatenating (and sorting) JSON files generated by the annotation processor. Having something similar in the platform tooling would probably also make sense.

Similarly there is also a Jbang script in Quarkus which generates an overview of all build steps: https://github.com/quarkusio/quarkus/blob/main/.github/quarkusbuilditemdoc.java.

This idea requires some more thought and elaboration.

@knutwannheden
Copy link
Author

knutwannheden commented Jun 22, 2021

The document generation tool could also generate a page documenting the platform properties provided by the platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant