1
0
mirror of synced 2026-01-04 09:06:46 -05:00
Files
docs/data/reusables
Ethan Palm fcb733492f [GHEC version] Version content about GitHub Actions (#23257)
* Remove extra liquid tags

Reusable contains the same tags that it is wrapped in

* update Using environments for deployment article

* Version Releasing and maintaining actions

* Version Adding self-hosted runners

* Version Removing self-hosted runners

* Version reusables

* Version Managing access to self hosted runners using groups

* Update Adding selfhosted runners

* Update Managing access to selfhosted runners using groups

* Remove enterprise from fpt version

* Update Removing selfhosted runners

* Update reusables
2021-12-03 18:35:59 +00:00
..
2021-10-15 15:41:33 -05:00
2021-10-22 13:23:16 -07:00
2021-10-22 13:23:16 -07:00
2021-10-15 15:41:33 -05:00
2021-10-27 07:47:17 -07:00
2021-10-15 15:41:33 -05:00
Add 💅
2021-11-10 12:09:45 -06:00
2021-11-12 13:00:12 +10:00
2021-10-15 15:41:33 -05:00
2021-10-15 15:41:33 -05:00
2021-10-15 15:41:33 -05:00
2021-08-19 18:18:00 +00:00
2021-10-15 15:41:33 -05:00
2021-10-15 15:41:33 -05:00
2021-10-15 15:41:33 -05:00
2020-09-27 14:10:11 +02:00
2021-10-15 15:41:33 -05:00
2021-10-22 13:23:16 -07:00
2021-10-15 15:41:33 -05:00
2021-10-15 15:41:33 -05:00
2021-10-15 15:41:33 -05:00
2021-10-27 07:47:17 -07:00
2021-10-15 15:41:33 -05:00
2021-11-30 19:44:05 +00:00
2021-10-15 15:41:33 -05:00
2021-10-22 13:23:16 -07:00
2021-10-15 15:41:33 -05:00
2021-12-01 09:04:19 +00:00
2020-09-27 14:10:11 +02:00
2021-10-15 15:41:33 -05:00
2021-10-15 15:41:33 -05:00
2020-09-27 14:10:11 +02:00

Reusables

Reusables are long strings of reusable text.

Reusables are longer strings like paragraphs or procedural lists that can be referenced in multiple content files. Using Markdown (instead of YAML) makes it possible for our localization pipeline to split the strings into smaller translatable segments, leading to fewer translation errors and less churn when the source English content changes.

Each reusable lives in its own Markdown file.

The path and filename of each Markdown file determines what its path will be in the data object.

For example, a file named /data/reusables/foo/bar.md will be accessible as {% data reusables.foo.bar %} in pages.

Reusable files are divided generally into directories by task. For example, if you're creating a reusable string for articles about GitHub notifications, you'd add it in the directory data/reusables/notifications/ in a file named data/reusables/notifications/your-reusable-name.md. The content reference you'd add to the source would look like {% data reusables.notifications.your-reusable-name %}.