1
0
mirror of synced 2026-01-07 18:01:41 -05:00
Files
docs/data/reusables
Eli Perkins ae85724e84 Remove GitHub Mobile for GHES beta disclaimer (#26486)
* Remove GitHub Mobile for GHES beta disclaimer

Related to https://github.com/github/mobile/issues/2440

The `Beta` disclaimer for GHES support within the mobile apps has been removed after a year of feedback and iteration. As such, let's remove the beta disclaimer from the docs about this as well! 🥳

* Clean up one last beta reference

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
2022-03-29 18:11:37 +00:00
..
2022-03-03 13:08:24 -06:00
2022-03-03 13:08:24 -06: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
2021-10-15 15:41:33 -05:00
Add 💅
2021-11-10 12:09:45 -06:00
2022-02-15 09:41:28 +01: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
2020-09-27 14:10:11 +02: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-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-10 09:13:02 +00:00
2022-03-03 13:08:24 -06:00
2022-03-29 17:39:50 +00:00
2022-03-03 13:08:24 -06:00
2022-03-03 13:08:24 -06:00
2022-03-03 13:08:24 -06:00
2022-03-15 14:53:32 +00:00
2022-03-03 13:08:24 -06:00
2020-09-27 14:10:11 +02:00
2022-03-22 13:28:24 +00: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.