docs/data/reusables
Martin Lopes 1e3518dc02
Restructure table in "Supported runners and hardware resources" (#20909)
* Recreated table in html, moved reusables
2021-08-17 15:26:14 +10:00
..
accounts Add GitHub Classroom documentation (#16564) 2020-12-08 15:59:35 +01:00
actions New audit log events for self-hosted runners (GA) (#20268) 2021-08-05 09:45:01 +10:00
advanced-security Consolidate conceptual, billing, and licensing information about enterprise accounts (#20261) 2021-08-03 15:18:31 +00:00
apps Use plural variables consistently (#20412) 2021-07-20 16:09:40 +00:00
audit_log Audit log private beta (#20196) 2021-07-12 12:05:20 -07:00
billing Consolidate conceptual, billing, and licensing information about enterprise accounts (#20261) 2021-08-03 15:18:31 +00:00
branches ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
classroom VS Code extension for GitHub Classroom (#20536) 2021-08-09 12:24:55 -07:00
cli Add CLI content to handul of articles (#19810) 2021-07-01 07:40:44 -06:00
code-scanning Add versioning to fix broken links (#20582) 2021-07-29 15:04:45 +00:00
codespaces [MERGE 8/11 @ 8:45am PT] Codespaces Megabranch (#20378) 2021-08-11 11:46:35 -04:00
command_line ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
commits
community ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
dashboard
dependabot ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
dependency-review Apply suggestions from code review 2021-03-25 08:35:37 +00:00
desktop ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
developer-site Update manual approval of Actions on public fork PRs (#19978) 2021-06-30 22:00:15 +00:00
discussions Use GitHub Discussions product name (#20366) 2021-07-20 08:15:16 +00:00
dotcom_billing [MERGE 8/11 @ 8:45am PT] Codespaces Megabranch (#20378) 2021-08-11 11:46:35 -04:00
education updated indexing and article title 2021-03-29 17:00:58 -04:00
enterprise Updates to the GHEC trial (#20565) 2021-08-05 11:01:33 +01:00
enterprise-accounts GHES 3.2 broken link fixes (#20696) 2021-08-06 01:28:11 +00:00
enterprise-licensing Consolidate conceptual, billing, and licensing information about enterprise accounts (#20261) 2021-08-03 15:18:31 +00:00
enterprise-managed ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
enterprise_clustering updating content files 2021-06-14 12:06:52 -07:00
enterprise_deprecation Remove unused _gaq.push 2021-05-05 14:19:04 -07:00
enterprise_enterprise_support update support holiday schedule 2021-07-26 17:17:46 +02:00
enterprise_installation Consolidate conceptual, billing, and licensing information about enterprise accounts (#20261) 2021-08-03 15:18:31 +00:00
enterprise_management_console ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
enterprise_migrations Trivial spacing adjustment 2021-06-01 08:43:42 +02:00
enterprise_site_admin_settings ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
enterprise_user_management ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
feature-preview ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
files ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
form-schema ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
gated-features [MERGE 8/11 @ 8:45am PT] Codespaces Megabranch (#20378) 2021-08-11 11:46:35 -04:00
gcm-core Update Git over HTTPS recommendations (#20281) 2021-08-05 16:33:57 -07:00
getting-started final change - added reusables for cloud and team overlapping content 2021-07-21 13:38:20 -04:00
gist ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
git Restructure and move Git content (#18336) 2021-03-25 14:42:36 -05:00
github-actions Restructure table in "Supported runners and hardware resources" (#20909) 2021-08-17 15:26:14 +10:00
github-ae Adding reusables for enterprise guides and trimming things in other guides 2021-07-20 17:52:42 -04:00
github-connect
github-insights ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
gpg ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
identity-and-permissions ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
interactions
issue-events ran the modified script/content-migrations/update-developer-site-links.js 2020-11-23 12:01:14 -05:00
large_files note that external LFS files aren't included in archives, take 2 (#20700) 2021-08-05 13:42:15 +00:00
linux
marketplace Billing UI updates 2021-04-21 16:13:38 -04:00
mobile ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
notifications GHES 3.2 broken link fixes (#20696) 2021-08-06 01:28:11 +00:00
notifications-v2 ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
open-source
organizations Org profile new landing page (#20427) 2021-08-05 17:41:37 +00:00
package_registry Org profile new landing page (#20427) 2021-08-05 17:41:37 +00:00
pages Add 💅 2021-07-16 06:36:26 -05:00
policies ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
pre-release-program ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
products Updates to the GHEC trial (#20565) 2021-08-05 11:01:33 +01:00
profile ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
project-management ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
projects ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
pull_requests ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
reminders Update data/reusables/reminders/scheduled-reminders-limitations.md 2021-02-09 11:06:47 +01:00
repositories Includes information about the types of checks (#8742) 2021-08-03 15:49:23 +00:00
rest-api ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
saml Updates to the GHEC trial (#20565) 2021-08-05 11:01:33 +01:00
scim Remove references to SCIM in enterprise docs (#20065) 2021-07-02 13:11:55 +00:00
search ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
secret-scanning Add PlanetScale as secret scanning partner (#20897) 2021-08-16 23:27:50 +00:00
security Clarifying org-wide security enablement settings docs (#20491) 2021-07-26 16:00:45 +00:00
security-advisory ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
security-center [March 24] Security overview beta (#18341) 2021-03-29 09:25:36 -04:00
shortdesc
sponsors Follow up for PR 20266 (#20793) 2021-08-16 09:49:41 +01:00
ssh
support small typo 2021-07-21 14:03:36 -04:00
supported-languages [June 28th] Dependency Graph: Support for detecting Go modules (#19956) 2021-07-22 16:05:21 +00:00
time_date
two_fa Updating 2FA configuration docs to reflect changes for the new wizard (#20085) 2021-06-30 22:56:27 +00:00
user-settings ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
user_settings [July 26 2021] Document PAT expiration (#19469) 2021-07-26 15:52:34 +00:00
webhooks Revise webhook REST API intro text (#20293) 2021-07-13 00:09:59 +00:00
README.md

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