Skip to content

Commit

Permalink
Temporary change latest version message
Browse files Browse the repository at this point in the history
  • Loading branch information
jvalkeal committed May 29, 2024
1 parent 18933f9 commit 070e743
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ urls:
latest_version_segment: ''
redirect_facility: httpd
ui:
supplemental_files: ./supplemental-ui
bundle:
url: https://github.com/spring-io/antora-ui-spring/releases/download/v0.4.7/ui-bundle.zip
snapshot: true
Expand Down
16 changes: 16 additions & 0 deletions supplemental-ui/partials/article-latest.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{#if (and page.latest (ne page.url page.latest.url))}}
<div class="admonitionblock important latest">
<table>
<tbody><tr>
<td class="icon">
<i class="fa icon-important" title="Important"></i>
</td>
<td class="content">
<div class="paragraph">
<p>{{#if page.componentVersion.prerelease}}This version is still in development and is not considered stable yet.{{/if}} For the latest snapshot version, please use <a href="{{{relativize ./page.latest.url}}}">{{page.component.title}} {{page.latest.displayVersion}}</a>!</p>
</div>
</td>
</tr></tbody>
</table>
</div>
{{/if}}

0 comments on commit 070e743

Please sign in to comment.