docs/data/reusables
Sergey Dolin 20fa34e57c
Docker container actions and service containers only work on 'ubuntu-latest' (#435)
Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2020-10-14 15:30:57 +10:00
..
actions [Oct 7] Change retention period for artifacts and logs (#15904) 2020-10-09 09:30:56 +10:00
apps Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
audit_log Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
branches Document features and changes for phase 2.5 of master/main transition (#15745) 2020-10-01 16:43:01 -07:00
cli Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
code-scanning Revise Go analysis text and convert to reusable (#15911) 2020-10-09 11:17:21 +01: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 Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
dashboard Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
dependabot Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04: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
dotcom_billing Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
education Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
enterprise Remove unused assets post-migration (#15824) 2020-10-01 09:31:07 -04:00
enterprise-accounts Remove unused assets post-migration (#15824) 2020-10-01 09:31:07 -04: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 Remove unused assets post-migration (#15824) 2020-10-01 09:31:07 -04:00
enterprise_installation Add explanation when port 9418 needs to be open (#15853) 2020-10-12 09:17:01 -05:00
enterprise_management_console Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
enterprise_migrations Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
enterprise_site_admin_settings Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
enterprise_user_management Fix broken links in report #2697 (#15921) 2020-10-13 10:02:08 +01:00
files Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
gated-features Remove unused assets post-migration (#15824) 2020-10-01 09:31:07 -04:00
gist Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
git Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
github-actions Docker container actions and service containers only work on 'ubuntu-latest' (#435) 2020-10-14 15:30:57 +10:00
github-connect Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
github-insights Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
gpg Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
identity-and-permissions Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
interactions Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
issue-events Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
large_files Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
linux Hello git history spelunker! 2020-09-27 14:10:11 +02:00
marketplace Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
notifications Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
notifications-v2 Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
open-source Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
organizations Delete github-customer-data-protection-addendum-presigned.pdf (#15657) 2020-10-01 20:58:05 -07:00
package_registry Update package-immutability.md 2020-10-09 22:37:27 +02:00
pages Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
policies Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
pre-release-program Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
products Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
profile Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
project-management Fix broken links in report #2697 (#15921) 2020-10-13 10:02:08 +01:00
projects Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
pull_requests Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
reminders Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
repositories Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
saml Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
scim Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
search Update all files to use `{% data %}` (#15253) 2020-09-29 16:01:04 -04:00
secret-scanning Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04: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 Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
ssh Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
support Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
time_date Hello git history spelunker! 2020-09-27 14:10:11 +02:00
two_fa Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
user-settings Remove unused assets post-migration (#15824) 2020-10-01 09:31:07 -04:00
user_settings Remove deprecated GHES versions from content and data (#15830) 2020-10-01 10:55:34 -04:00
webhooks Add content for new X-Hub-Signature-256 webhook header (#15968) 2020-10-14 13:17:24 +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 %}.