1
0
mirror of synced 2025-12-31 06:02:42 -05:00
Files
docs/data/reusables
Ariel Deitcher 66b4330881 differentiate between skipped workflows and skipped jobs (#27394)
* differentiate between skipped workflows and skipped jobs

* Optimize images

* bad link

* Recreated screenshot

* Optimize images

* Apply suggestions from code review

Co-authored-by: Martin Lopes <martin389@github.com>

* Apply suggestions from code review

Co-authored-by: Martin Lopes <martin389@github.com>

* Apply suggestions from code review

Co-authored-by: Josh Gross <joshmgross@github.com>

* Apply suggestions from code review

* add links and clarify language again

* fix links

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: Josh Gross <joshmgross@github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
2022-05-13 16:23:09 +00:00
..
2021-10-15 15:41:33 -05:00
2022-03-03 13:08:24 -06:00
2021-10-15 15:41:33 -05:00
Add 💅
2021-11-10 12:09:45 -06:00
2022-04-06 19:54:38 +00:00
Add 💅
2022-05-09 08:51:35 -05:00
2021-10-15 15:41:33 -05:00
2022-03-03 13:08:24 -06:00
2021-10-15 15:41:33 -05:00
2021-10-15 15:41:33 -05:00
2022-03-03 13:08:24 -06:00
2021-10-15 15:41:33 -05:00
2021-10-15 15:41:33 -05:00
2022-03-03 13:08:24 -06:00
2022-03-03 13:08:24 -06:00
2022-05-05 21:17:06 +00:00
2022-03-03 13:08:24 -06:00
Add 💅
2022-05-11 13:03:56 -05:00
2022-04-20 10:19:48 -07:00
2021-12-17 17:49:43 +00: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 %}.

Versioning

Reusables can include Liquid conditionals to conditionally render content depending on the current version being viewed. See contributing/liquid-helpers.md.