Class ReferenceConfigDocsGenerator

java.lang.Object
org.apache.polaris.docs.generator.ReferenceConfigDocsGenerator
All Implemented Interfaces:
Callable<Integer>

public class ReferenceConfigDocsGenerator extends Object implements Callable<Integer>
Tool to run DocGenDoclet, the markdown docs generation.

This is built as a separate tool, because running DocGenDoclet inside javadoc leads to wrong and incomplete results for smallrye-config documentation due to class loader isolation issues. javadoc uses a separate ClassLoader for the doclet, which breaks the proper inspection via smallrye-config's using ConfigMappingInterface: the default values are missing, properties from supertypes are missing and the property names are usually wrong.

This separate tool approach makes the integration into Gradle easier, too.

  • Constructor Details

    • ReferenceConfigDocsGenerator

      public ReferenceConfigDocsGenerator()
    • ReferenceConfigDocsGenerator

      public ReferenceConfigDocsGenerator(List<Path> sourcepath, List<Path> classpath, Path output, boolean verbose)
  • Method Details