Skip to content

Commit

Permalink
docs: Add hyperlinks to notification templates doc in different servi…
Browse files Browse the repository at this point in the history
…ces (argoproj#171)

Signed-off-by: Craig Rodrigues <[email protected]>
Co-authored-by: Alexander Matyushentsev <[email protected]>
  • Loading branch information
rodrigc and Alexander Matyushentsev authored Mar 22, 2023
1 parent 27687d2 commit a2a2092
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/services/email.md
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ data:
## Template
Notification templates support specifying subject for email notifications:
[Notification templates](../templates.md) support specifying subject for email notifications:
```yaml
apiVersion: v1
4 changes: 2 additions & 2 deletions docs/services/pagerduty.md
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ data:
## Template
Notification templates support specifying subject for pagerduty notifications:
[Notification templates](../templates.md) support specifying subject for pagerduty notifications:
```yaml
apiVersion: v1
@@ -63,4 +63,4 @@ kind: Rollout
metadata:
annotations:
notifications.argoproj.io/subscribe.on-rollout-aborted.pagerduty: "<serviceID for Pagerduty>"
```
```
2 changes: 1 addition & 1 deletion docs/services/rocketchat.md
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ metadata:

## Templates

Notification templates can be customized with RocketChat [attachments](https://developer.rocket.chat/api/rest-api/methods/chat/postmessage#attachments-detail).
[Notification templates](../templates.md) can be customized with RocketChat [attachments](https://developer.rocket.chat/api/rest-api/methods/chat/postmessage#attachments-detail).

*Note: Attachments structure in Rocketchat is same with Slack attachments [feature](https://api.slack.com/messaging/composing/layouts).*

2 changes: 1 addition & 1 deletion docs/services/slack.md
Original file line number Diff line number Diff line change
@@ -82,7 +82,7 @@ The Slack notification service configuration includes following settings:

## Templates

Notification templates can be customized to leverage slack message blocks and attachments
[Notification templates](../templates.md) can be customized to leverage slack message blocks and attachments
[feature](https://api.slack.com/messaging/composing/layouts).

![](https://user-images.githubusercontent.com/426437/72776856-6dcef880-3bc8-11ea-8e3b-c72df16ee8e6.png)
4 changes: 2 additions & 2 deletions docs/services/teams.md
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ metadata:
![](https://user-images.githubusercontent.com/18019529/114271500-9d2b8880-9a4c-11eb-85c1-f6935f0431d5.png)
Notification templates can be customized to leverage teams message sections, facts, themeColor, summary and potentialAction [feature](https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using).
[Notification templates](../templates.md) can be customized to leverage teams message sections, facts, themeColor, summary and potentialAction [feature](https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using).
```yaml
template.app-sync-succeeded: |
@@ -123,4 +123,4 @@ You can set a summary of the message that will be shown on Notifcation & Activit
template.app-sync-succeeded: |
teams:
summary: "Sync Succeeded"
```
```

0 comments on commit a2a2092

Please sign in to comment.