1
0
mirror of synced 2026-01-01 18:05:46 -05:00

fix if to ifversion, add issue link

This commit is contained in:
vgrl
2022-06-10 08:06:21 +10:00
parent 2bf4ba606c
commit bde499267e
3 changed files with 4 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ $ ghe-announce -s MESSAGE
$ ghe-announce -u
> Removed the announcement message
```
{% if ghe-announce-dismiss %}
{% ifversion ghe-announce-dismiss %}
To make an announcement that each user can dismiss for themselves:
```shell
# Sets a user-dismissible message that's visible to everyone

View File

@@ -109,7 +109,7 @@ You can also set an announcement banner in the administrative shell using a comm
{% endif %}
{% if ghe-announce-dismiss %}
{% ifversion ghe-announce-dismiss %}
{% note %}
**Note:** If you want to allow users to dismiss the announcement banner for themselves, you must use the administrative shell using a command line utility. For more information, see "[Command-line utilities](/enterprise/admin/configuration/command-line-utilities#ghe-announce)."

View File

@@ -1,2 +1,4 @@
# Reference: #2221.
# Documentation for dismissing GHES announcement banner
versions:
ghes: '>3.6'