Creating `savings gists with stars` doc (#37089)

Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
This commit is contained in:
Gabriela Tolosa Ramirez 2023-05-17 01:55:50 -06:00 коммит произвёл GitHub
Родитель bf82b5b150
Коммит 5cd6f082f4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 32 добавлений и 1 удалений

Двоичные данные
assets/images/help/gist/starring-a-gist.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 14 KiB

Просмотреть файл

@ -14,6 +14,6 @@ versions:
children:
- /creating-gists
- /forking-and-cloning-gists
- /saving-gists-with-stars
shortTitle: Share content with gists
---

Просмотреть файл

@ -0,0 +1,28 @@
---
title: Saving gists with stars
intro: 'You can star gists to keep track of projects you find interesting.'
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
---
## Starring a gist
You can star a gist to add it to the "Starred" page. Starring makes it easy to find a gist again later.
1. Navigate to {% data variables.gists.discover_url %} and select the gist you want to star.
1. To star the gist, click {% octicon "star" aria-hidden="true" %} **Star** in the top-right corner of the page.
![Screenshot of the gist bar with the "Star" option highlighted with a dark orange outline.](/assets/images/help/gist/starring-a-gist.png)
1. Optionally, to unstar a previously starred gist, click {% octicon "star-fill" aria-hidden="true" %} **Unstar**. This will remove the gist from your starred list.
## Viewing your starred gists
Starring makes it easy to find a gist again later. You can see all the gists starred by going to your {% data variables.gists.gist_starred %}.
## Further reading
- "[AUTOTITLE](/get-started/exploring-projects-on-github/saving-repositories-with-stars)"

Просмотреть файл

@ -6,3 +6,6 @@ gist_search_url: >-
discover_url: >-
{% ifversion fpt or ghec %}[Discover](https://gist.github.com/discover){% elsif ghae %}Discover, `http(s)://gist.[hostname]/discover`{% else %}Discover, `http(s)://[hostname]/gist/discover` or `http(s)://gist.[hostname]/discover` if subdomains are enabled{% endif %}
gist_starred: >-
{% ifversion fpt or ghec %}[Gist starred page](https://gist.github.com/starred){% elsif ghae %}Gist starred page, `http(s)://gist.[hostname]/starred`{% else %}Gist starred page, `http(s)://[hostname]/gist/starred` or `http(s)://gist.[hostname]/starred` if subdomains are enabled{% endif %}