fix if to ifversion, add issue link
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)."
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
# Reference: #2221.
|
||||
# Documentation for dismissing GHES announcement banner
|
||||
versions:
|
||||
ghes: '>3.6'
|
||||
|
||||
Reference in New Issue
Block a user