forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the name of the configuration adoc file configurable fix quarkus…
- Loading branch information
1 parent
200d485
commit e703192
Showing
3 changed files
with
46 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
core/runtime/src/main/java/io/quarkus/runtime/annotations/ConfigDocFilename.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package io.quarkus.runtime.annotations; | ||
|
||
import static java.lang.annotation.RetentionPolicy.SOURCE; | ||
|
||
import java.lang.annotation.Documented; | ||
import java.lang.annotation.ElementType; | ||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.Target; | ||
|
||
import io.smallrye.config.ConfigMapping; | ||
|
||
/** | ||
* Specifies the file name where {@code quarkus-extension-processor} will output the documentation in AsciiDoc format. | ||
* If not specified, the effective file name is derived either from the class name or {@link ConfigMapping#prefix()}. | ||
*/ | ||
@Documented | ||
@Retention(SOURCE) | ||
@Target({ ElementType.TYPE }) | ||
public @interface ConfigDocFilename { | ||
|
||
String value(); | ||
} |