Skip to content

Commit

Permalink
docs: add syntax for page message block in the preview
Browse files Browse the repository at this point in the history
  • Loading branch information
tbouffard committed Jun 5, 2024
1 parent 2e30505 commit f9a9360
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
11 changes: 11 additions & 0 deletions preview-src/msg-block-custom-message.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
:page-editable: true
:page-custom-message: This is a custom message. You can use it, for example, for a specific announcement, especially to advertise an upcoming product.

.Click to see the *configuration* that display the message block
[%collapsible]
====
[source,asciidoc]
----
// Add the following Asciidoc attribute in the antora.yml file of the component
page-custom-message: This is a custom message. You can use it, for example, for a specific announcement, especially to advertise an upcoming product.
----
====
== Title 1
=== Paragraph 1.1
Expand Down
10 changes: 10 additions & 0 deletions preview-src/msg-block-next-version.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
:page-editable: true
:page-next-release: true

.Click to see the *configuration* that display the message block
[%collapsible]
====
[source,asciidoc]
----
// Add the following Asciidoc attribute in the antora.yml file of the component
page-next-release: true
----
====
== Title 1
Expand Down
10 changes: 10 additions & 0 deletions preview-src/msg-block-out-of-support.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@

NOTE: This page is configured to hide the search bar and to not be editable.

.Click to see the *configuration* that display the message block
[%collapsible]
====
[source,asciidoc]
----
// Add the following Asciidoc attribute in the antora.yml file of the component
page-out-of-support: true
----
====
== Title 1
Expand Down

0 comments on commit f9a9360

Please sign in to comment.