Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Dec 13, 2022
1 parent fdfc4aa commit b6c4960
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 5 deletions.
70 changes: 65 additions & 5 deletions docs/modules/reference/pages/announce/mastodon.adoc
Expand Up @@ -26,10 +26,22 @@ include::partial$announce/yaml/common-head.adoc[]
# icon:exclamation-triangle[] icon:eye-slash[]
accessToken: __DO_NOT_SET_HERE__
# The announcement status.
# The announcement message.
# Review the available xref:reference:name-templates.adoc[].
# icon:dot-circle[] icon:file-alt[]
status: 'πŸš€ {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}'
# The announcement messages.
# Review the available xref:reference:name-templates.adoc[].
# icon:dot-circle[] icon:file-alt[]
statuses:
- 'πŸš€ {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}'
- 'New and exciting features added to {{projectNameCapitalized}} {{projectVersion}}'
# Path to a template file that contains a list of statuses.
# Review the available xref:reference:name-templates.adoc[].
# icon:dot-circle[] icon:file-alt[]
statusTemplate: path/to/template/mastodon.tpl
----
--
TOML::
Expand All @@ -50,10 +62,20 @@ include::partial$announce/toml/common-head.adoc[]
# icon:exclamation-triangle[] icon:eye-slash[]
accessToken = "__DO_NOT_SET_HERE__"
# The announcement status.
# The announcement message.
# Review the available xref:reference:name-templates.adoc[].
# icon:dot-circle[] icon:file-alt[]
status = "πŸš€ {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}"
# The announcement message.
# Review the available xref:reference:name-templates.adoc[].
# icon:dot-circle[] icon:file-alt[]
statuses = ["πŸš€ {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}", "New and exciting featurer added to {{projectNameCapitalized}} {{projectVersion}}"]
# Path to a template file that contains a list of statuses.
# Review the available xref:reference:name-templates.adoc[].
# icon:dot-circle[] icon:file-alt[]
statusTemplate = "path/to/template/mastodon.tpl"
----
--
JSON::
Expand All @@ -74,10 +96,21 @@ include::partial$announce/json/common-head.adoc[]
// icon:exclamation-triangle[] icon:eye-slash[]
"accessToken": "__DO_NOT_SET_HERE__",
// The announcement status.
// The announcement message.
// Review the available xref:reference:name-templates.adoc[].
// icon:dot-circle[] icon:file-alt[]
"status": "πŸš€ {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}"
// The announcement message.
// Review the available xref:reference:name-templates.adoc[].
// icon:dot-circle[] icon:file-alt[]
"statuses": [
"πŸš€ {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}","New and exciting featurer added to {{projectNameCapitalized}} {{projectVersion}}"],
// Path to a template file that contains a list of statuses.
// Review the available xref:reference:name-templates.adoc[].
// icon:dot-circle[] icon:file-alt[]
"statusTemplate": "path/to/template/mastodon.tpl"
include::partial$announce/json/common-footer.adoc[]
----
--
Expand All @@ -104,11 +137,27 @@ include::partial$announce/maven/common-head.adoc[]
<accessToken>__DO_NOT_SET_HERE__</accessToken>
<!--
The announcement status.
The announcement message.
Review the available xref:reference:name-templates.adoc[].
icon:dot-circle[] icon:file-alt[]
-->
<status>πŸš€ {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}</status>
<!--
The announcement message.
Review the available xref:reference:name-templates.adoc[].
icon:dot-circle[] icon:file-alt[]
-->
<statuses>
<status>πŸš€ {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}</status>
<status>New and exciting featurer added to {{projectNameCapitalized}} {{projectVersion}}</status>
</statuses>
<!-- Path to a template file that contains a list of statuses.
Review the available xref:reference:name-templates.adoc[].
icon:dot-circle[] icon:file-alt[]
-->
<statusTemplate>path/to/template/mastodon.tpl</statusTemplate>
include::partial$announce/maven/common-footer.adoc[]
----
--
Expand All @@ -130,10 +179,21 @@ include::partial$announce/gradle/common-head.adoc[]
// icon:exclamation-triangle[] icon:eye-slash[]
accessToken = '__DO_NOT_SET_HERE__'
// The announcement status.
// The announcement message.
// Review the available xref:reference:name-templates.adoc[].
// icon:dot-circle[] icon:file-alt[]
status = 'πŸš€ {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}'
// The announcement message.
// Review the available xref:reference:name-templates.adoc[].
// icon:dot-circle[] icon:file-alt[]
statuses = [
'πŸš€ {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}','New and exciting featurer added to {{projectNameCapitalized}} {{projectVersion}}']
// Path to a template file that contains a list of statuses.
// Review the available xref:reference:name-templates.adoc[].
// icon:dot-circle[] icon:file-alt[]
statusTemplate = 'path/to/template/mastodon.tpl'
include::partial$announce/gradle/common-footer.adoc[]
----
--
Expand Down
1 change: 1 addition & 0 deletions docs/modules/reference/pages/announce/twitter.adoc
Expand Up @@ -259,6 +259,7 @@ include::partial$announce/gradle/common-head.adoc[]
// Review the available xref:reference:name-templates.adoc[].
// icon:dot-circle[] icon:file-alt[]
status = 'πŸš€ {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}'
// The announcement message.
// Review the available xref:reference:name-templates.adoc[].
// icon:dot-circle[] icon:file-alt[]
Expand Down

0 comments on commit b6c4960

Please sign in to comment.