forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request quarkusio#43225 from Athou/markdown-tables
Config Doc: use HTML tables to be able to output markdown inside cells
- Loading branch information
Showing
5 changed files
with
51 additions
and
23 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
16 changes: 11 additions & 5 deletions
16
...en-plugin/src/main/resources/templates/markdown/default/configReference.qute.md
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: 21 additions & 1 deletion
22
...lugin/src/main/resources/templates/markdown/default/tags/configProperty.qute.md
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 |
---|---|---|
@@ -1 +1,21 @@ | ||
| {#if configProperty.phase.fixedAtBuildTime}🔒 {/if}`{configProperty.path.property}`{#for additionalPath in configProperty.additionalPaths}<br>`{additionalPath.property}`{/for}<br><br>{configProperty.formatDescription.escapeCellContent.or("")}{#envVar configProperty /} | {configProperty.formatTypeDescription.escapeCellContent.or("")} | {#if configProperty.defaultValue}{configProperty.formatDefaultValue.escapeCellContent}{/if} | | ||
<tr> | ||
<td> | ||
|
||
{#if configProperty.phase.fixedAtBuildTime}🔒 {/if}`{configProperty.path.property}` | ||
{#for additionalPath in configProperty.additionalPaths} | ||
`{additionalPath.property}` | ||
{/for} | ||
|
||
{configProperty.formatDescription.escapeCellContent.or("")} | ||
|
||
{#envVar configProperty /} | ||
</td> | ||
<td> | ||
|
||
{configProperty.formatTypeDescription.escapeCellContent.or("")} | ||
</td> | ||
<td> | ||
|
||
{#if configProperty.defaultValue}{configProperty.formatDefaultValue.escapeCellContent}{/if} | ||
</td> | ||
</tr> |
13 changes: 7 additions & 6 deletions
13
...plugin/src/main/resources/templates/markdown/default/tags/configSection.qute.md
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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
<thead> | ||
<tr> | ||
<th align="left" colspan="3"> | ||
{configSection.formatTitle} | ||
</th> | ||
</tr> | ||
</thead> | ||
|
||
{#if configSection.nonDeprecatedProperties} | ||
| Configuration property | Type | Default | | ||
|------------------------|------|---------| | ||
{#for property in configSection.nonDeprecatedProperties} | ||
{#configProperty configProperty=property extension=extension additionalAnchorPrefix=additionalAnchorPrefix /} | ||
{/for} | ||
{/if} | ||
{#for subsection in configSection.nonDeprecatedSections} | ||
|
||
{#configSection configSection=subsection extension=extension additionalAnchorPrefix=additionalAnchorPrefix /} | ||
{/for} | ||
{/for} |