docs/data/reusables
OscarDOM d18940baab
'installation' property is always present for some payloads (#1948)
2020-12-10 11:22:54 +10:00
..
accounts Add GitHub Classroom documentation (#16564) 2020-12-08 15:59:35 +01:00
actions Universe Day 2: Marketplace internal verification process changes (#16681) 2020-12-09 15:02:40 +00:00
apps ran the modified script/content-migrations/update-developer-site-links.js 2020-11-23 12:01:14 -05:00
audit_log [DO NOT MERGE] Universe 2020 Day 1: December 8, 2020 (#16480) 2020-12-08 12:20:02 -05:00
branches GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
classroom Add GitHub Classroom documentation (#16564) 2020-12-08 15:59:35 +01:00
cli GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
code-scanning Clarify how to exclude files from code scanning analysis (#16658) 2020-11-27 14:19:49 +00:00
codespaces Update with creating a codespace in VS code procedural (#15936) 2020-10-12 12:49:09 -04:00
command_line Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
commits Remove unused assets post-migration (#15824) 2020-10-01 09:31:07 -04:00
community More powerful interaction limits 💪🏻 (#16335) 2020-11-05 07:17:59 -06:00
dashboard Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
dependabot Dependabot private repo support (#16458) 2020-12-02 13:49:49 -05:00
desktop Document features and changes for phase 2.5 of master/main transition (#15745) 2020-10-01 16:43:01 -07:00
developer-site Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
discussions remove reusable (#16844) 2020-12-09 20:02:21 +00:00
dotcom_billing Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
education Add GitHub Classroom documentation (#16564) 2020-12-08 15:59:35 +01:00
enterprise GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
enterprise-accounts [GHAE] Correct information about public repositories in Core content about GitHub AE (#16304) 2020-11-20 13:01:43 +01:00
enterprise-managed GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
enterprise_clustering Document features and changes for phase 2.5 of master/main transition (#15745) 2020-10-01 16:43:01 -07:00
enterprise_deprecation Hello git history spelunker! 2020-09-27 14:10:11 +02:00
enterprise_enterprise_support GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
enterprise_installation [GHAE] Correct information about public repositories in Core content about GitHub AE (#16304) 2020-11-20 13:01:43 +01:00
enterprise_management_console GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
enterprise_migrations Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
enterprise_site_admin_settings GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
enterprise_user_management GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
feature-preview Add feature preview for container registry (#16424) 2020-11-16 14:54:32 -08:00
files Change != "free-pro-team@latest" to enterpriseServerVersions contains currentVersion, actually (#16114) 2020-10-21 21:33:43 -07:00
gated-features [Universe] Discussions Public Beta (#16547) 2020-12-07 15:00:35 -07:00
gist GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
git Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
github-actions Fix Actions link to community support category (#16733) 2020-12-03 11:45:01 +10:00
github-ae GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
github-connect Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
github-insights Check repository references (#16680) 2020-12-03 16:41:03 +00:00
gpg Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
identity-and-permissions ran the modified script/content-migrations/update-developer-site-links.js 2020-11-23 12:01:14 -05:00
interactions [Nov 4] Adds updates to Interaction Limits API (#16290) 2020-11-12 18:05:51 -08:00
issue-events ran the modified script/content-migrations/update-developer-site-links.js 2020-11-23 12:01:14 -05:00
large_files GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
linux Hello git history spelunker! 2020-09-27 14:10:11 +02:00
marketplace Universe Day 2: Marketplace internal verification process changes (#16681) 2020-12-09 15:02:40 +00:00
notifications [GHAE] Correct information about public repositories in Core content about GitHub AE (#16304) 2020-11-20 13:01:43 +01:00
notifications-v2 [GHAE] Correct information about public repositories in Core content about GitHub AE (#16304) 2020-11-20 13:01:43 +01:00
open-source Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
organizations GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
package_registry [DO NOT MERGE] Universe 2020 Day 1: December 8, 2020 (#16480) 2020-12-08 12:20:02 -05:00
pages GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
policies Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
pre-release-program Merge branch 'main' of github.com:github/docs-internal into tweak-script-that-updates-developer-links 2020-11-24 13:31:22 -05:00
products Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
profile [GHAE] Correct information about public repositories in Core content about GitHub AE (#16304) 2020-11-20 13:01:43 +01:00
project-management typo: positon -> position 2020-11-04 14:38:36 -05:00
projects Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
pull_requests Apply suggestions from code review 2020-11-03 21:09:51 +01:00
reminders Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
repositories [DO NOT MERGE] Universe 2020 Day 1: December 8, 2020 (#16480) 2020-12-08 12:20:02 -05:00
saml GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
scim GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
search [Universe] Discussions Public Beta (#16547) 2020-12-07 15:00:35 -07:00
secret-scanning Secret scanning webhooks & APIs (#16608) 2020-12-04 09:39:29 +10:00
security Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
security-advisory Hello git history spelunker! 2020-09-27 14:10:11 +02:00
shortdesc Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
sponsors [DO NOT MERGE] Universe 2020 Day 1: December 8, 2020 (#16480) 2020-12-08 12:20:02 -05:00
ssh Update add-ssh-key-to-ssh-agent.md 2020-11-04 21:04:48 +01:00
support Update ghae-priorities.md 2020-11-05 18:22:34 -08:00
time_date Hello git history spelunker! 2020-09-27 14:10:11 +02:00
two_fa Change != "free-pro-team@latest" to enterpriseServerVersions contains currentVersion, actually (#16114) 2020-10-21 21:33:43 -07:00
user-settings Remove unused assets post-migration (#15824) 2020-10-01 09:31:07 -04:00
user_settings GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
webhooks 'installation' property is always present for some payloads (#1948) 2020-12-10 11:22:54 +10:00
README.md Hello git history spelunker! 2020-09-27 14:10:11 +02:00

README.md

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 %}.