Class HelpDocumentProjectGenerationConfiguration
java.lang.Object
io.spring.initializr.generator.spring.documentation.HelpDocumentProjectGenerationConfiguration
@ProjectGenerationConfiguration
@Import(HelpDocumentProjectGenerationDefaultContributorsConfiguration.class)
public class HelpDocumentProjectGenerationConfiguration
extends Object
Configuration for contributions specific to the help documentation of a project. If no
MustacheTemplateRenderer
exists, a default one on classpath:/templates
is provided.- Author:
- Stephane Nicoll
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhelpDocument
(org.springframework.beans.factory.ObjectProvider<MustacheTemplateRenderer> templateRenderer, org.springframework.beans.factory.ObjectProvider<HelpDocumentCustomizer> helpDocumentCustomizers) helpDocumentProjectContributor
(HelpDocument helpDocument)
-
Constructor Details
-
HelpDocumentProjectGenerationConfiguration
public HelpDocumentProjectGenerationConfiguration()
-
-
Method Details
-
helpDocument
@Bean public HelpDocument helpDocument(org.springframework.beans.factory.ObjectProvider<MustacheTemplateRenderer> templateRenderer, org.springframework.beans.factory.ObjectProvider<HelpDocumentCustomizer> helpDocumentCustomizers) -
helpDocumentProjectContributor
@Bean public HelpDocumentProjectContributor helpDocumentProjectContributor(HelpDocument helpDocument)
-