-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add quarkus.antora.image configuration parameter
- Loading branch information
Showing
7 changed files
with
118 additions
and
5 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
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,32 @@ | ||
:summaryTableId: quarkus-antora_quarkus-antora | ||
[.configuration-legend] | ||
icon:lock[title=Fixed at build time] Configuration property fixed at build time - All other configuration properties are overridable at runtime | ||
[.configuration-reference.searchable, cols="80,.^10,.^10"] | ||
|=== | ||
|
||
h|[.header-title]##Configuration property## | ||
h|Type | ||
h|Default | ||
|
||
a|icon:lock[title=Fixed at build time] [[quarkus-antora_quarkus-antora-image]] [.property-path]##`quarkus.antora.image`## | ||
|
||
[.description] | ||
-- | ||
The fully qualified name of the Antora container image to use for generating the documentation site. | ||
Example: `docker.io/antora/antora:3.0.1` | ||
|
||
|
||
ifdef::add-copy-button-to-env-var[] | ||
Environment variable: env_var_with_copy_button:+++QUARKUS_ANTORA_IMAGE+++[] | ||
endif::add-copy-button-to-env-var[] | ||
ifndef::add-copy-button-to-env-var[] | ||
Environment variable: `+++QUARKUS_ANTORA_IMAGE+++` | ||
endif::add-copy-button-to-env-var[] | ||
-- | ||
|string | ||
|`docker.io/antora/antora:3.0.1` | ||
|
||
|=== | ||
|
||
|
||
:!summaryTableId: |
32 changes: 32 additions & 0 deletions
32
docs/modules/ROOT/pages/includes/quarkus-antora_quarkus.antora.adoc
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,32 @@ | ||
:summaryTableId: quarkus-antora_quarkus-antora | ||
[.configuration-legend] | ||
icon:lock[title=Fixed at build time] Configuration property fixed at build time - All other configuration properties are overridable at runtime | ||
[.configuration-reference.searchable, cols="80,.^10,.^10"] | ||
|=== | ||
|
||
h|[.header-title]##Configuration property## | ||
h|Type | ||
h|Default | ||
|
||
a|icon:lock[title=Fixed at build time] [[quarkus-antora_quarkus-antora-image]] [.property-path]##`quarkus.antora.image`## | ||
|
||
[.description] | ||
-- | ||
The fully qualified name of the Antora container image to use for generating the documentation site. | ||
Example: `docker.io/antora/antora:3.0.1` | ||
|
||
|
||
ifdef::add-copy-button-to-env-var[] | ||
Environment variable: env_var_with_copy_button:+++QUARKUS_ANTORA_IMAGE+++[] | ||
endif::add-copy-button-to-env-var[] | ||
ifndef::add-copy-button-to-env-var[] | ||
Environment variable: `+++QUARKUS_ANTORA_IMAGE+++` | ||
endif::add-copy-button-to-env-var[] | ||
-- | ||
|string | ||
|`docker.io/antora/antora:3.0.1` | ||
|
||
|=== | ||
|
||
|
||
:!summaryTableId: |
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
24 changes: 24 additions & 0 deletions
24
runtime/src/main/java/io/quarkiverse/antora/FixedConfig.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,24 @@ | ||
package io.quarkiverse.antora; | ||
|
||
import io.quarkus.runtime.annotations.ConfigPhase; | ||
import io.quarkus.runtime.annotations.ConfigRoot; | ||
import io.smallrye.config.ConfigMapping; | ||
import io.smallrye.config.WithDefault; | ||
|
||
/** | ||
* Quarkus Antora build time configuration options that are also available at runtime but only in read-only mode. | ||
*/ | ||
@ConfigMapping(prefix = "quarkus.antora") | ||
@ConfigRoot(phase = ConfigPhase.BUILD_AND_RUN_TIME_FIXED) | ||
public interface FixedConfig { | ||
|
||
/** | ||
* The fully qualified name of the Antora container image to use for generating the documentation site. | ||
* Example: `docker.io/antora/antora:3.0.1` | ||
* | ||
* @asciidoclet | ||
* @since 0.0.5 | ||
*/ | ||
@WithDefault("docker.io/antora/antora:3.0.1") | ||
String image(); | ||
} |