docs/data/reusables
Maya Messinger fd04de0710
Update 2FA docs for secure methods feature for orgs and enterprises (#53115)
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Hector Alfaro <hectorsector@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2024-11-20 22:25:24 +00:00
..
accounts Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
actions Fixing a code sample to use an updated API version (#53214) 2024-11-20 12:49:48 -08:00
advanced-formatting Patch release notes for GitHub Enterprise Server (#48202) 2023-12-21 14:04:45 -05:00
advanced-security Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
advisory-database Delete orphaned files (2024-11-04-16-33) (#52970) 2024-11-05 09:46:11 -05:00
apps Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
audit_log Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
billing Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
branches [Core / Unowned] Reduce usage of `{% data variables.location.product_location %}` (#52120) 2024-08-30 14:25:17 +00:00
classroom Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
cli Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
code-scanning Fix note alert rendering (#35368) 2024-11-20 16:52:53 +00:00
codeql-cli Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
codespaces Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
command-palette Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
command_line Ran white space linter on content (#52996) 2024-11-06 18:01:37 +00:00
commits Part 4: Update data dir from dash to asterisk (#51098) 2024-06-13 10:54:08 -07:00
community Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
contributing Content Linter Rule - Whitespace (#52622) 2024-11-07 18:02:18 +00:00
copilot Copilot Extensions - 3P Skillsets (public preview) (#53141) 2024-11-19 17:39:35 +00:00
copilot-business-for-non-ghe Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
dashboard Part 4: Update data dir from dash to asterisk (#51098) 2024-06-13 10:54:08 -07:00
data-residency Delete orphaned files (2024-11-04-16-33) (#52970) 2024-11-05 09:46:11 -05:00
dependabot Dependabot supports .NET SDK updates [GA] (#53007) 2024-11-19 19:01:21 +00:00
dependency-graph Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
dependency-review Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
dependency-submission Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
desktop Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
developer-site Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
discussions Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
docs
dotcom_billing Add periods to list in upgrading-your-accounts-plan#troubleshooting-a-500-error-when-upgrading (#34709) 2024-09-24 11:20:18 +00:00
education Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
emus Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
enterprise Update 2FA docs for secure methods feature for orgs and enterprises (#53115) 2024-11-20 22:25:24 +00:00
enterprise-accounts Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
enterprise-data-residency October 28-30: GitHub Universe 2024 docs-internal megabranch (#52491) 2024-10-29 08:40:06 -07:00
enterprise-licensing October 28-30: GitHub Universe 2024 docs-internal megabranch (#52491) 2024-10-29 08:40:06 -07:00
enterprise-managed Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
enterprise-migration-tool The last Enterprise bugfix hour 😢 (#53056) 2024-11-14 15:29:53 +00:00
enterprise_backup_utilities Delete orphaned files (2024-11-04-16-33) (#52970) 2024-11-05 09:46:11 -05:00
enterprise_clustering Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
enterprise_deprecation [Improvement]: Update links to old "Upgrading GHES" article (#51974) 2024-08-11 21:53:05 +00:00
enterprise_enterprise_support Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
enterprise_installation Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
enterprise_management_console Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
enterprise_migrations Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
enterprise_site_admin_settings Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
enterprise_user_management Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
feature-preview Add new line character to lines without it (#38196) 2023-06-21 16:03:41 +00:00
files Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
form-schema
gated-features Add product callout + use it to specify that Markdown docs are for web interface (#53153) 2024-11-19 14:19:15 +00:00
gcm-core Remove GHAE in Liquid and front matter (26) (#49075) 2024-02-07 17:56:03 +00:00
getting-started Delete orphaned files (2024-11-04-16-33) (#52970) 2024-11-05 09:46:11 -05:00
gist Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
git Part 4: Update data dir from dash to asterisk (#51098) 2024-06-13 10:54:08 -07:00
github-connect Delete orphaned files (2024-11-04-16-33) (#52970) 2024-11-05 09:46:11 -05:00
gpg Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
identity-and-permissions Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
interactions
issue-events Update label-properties.md (#31439) 2024-02-05 17:52:46 +00:00
issues Issues 2.0 (Public beta) (#52430) 2024-10-01 12:45:39 +01:00
large_files Billing vNext [GA] (#50725) 2024-06-03 16:03:10 +00:00
linux
marketplace Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
migrations October 28-30: GitHub Universe 2024 docs-internal megabranch (#52491) 2024-10-29 08:40:06 -07:00
mobile October 28-30: GitHub Universe 2024 docs-internal megabranch (#52491) 2024-10-29 08:40:06 -07:00
models October 28-30: GitHub Universe 2024 docs-internal megabranch (#52491) 2024-10-29 08:40:06 -07:00
notifications Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
notifications-v2 Fix trailing spaces in content and data (#37904) 2023-06-23 10:45:10 -07:00
open-source
organizations Update 2FA docs for secure methods feature for orgs and enterprises (#53115) 2024-11-20 22:25:24 +00:00
package_registry Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
pages Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
passkeys GitHub Enterprise Server 3.14 release candidate (#51664) 2024-08-07 22:50:44 +00:00
permissions Update for roll-out of Billing vNext to GitHub Team plans (#53060) 2024-11-13 16:38:21 +00:00
policies [Core / Unowned] Reduce usage of `{% data variables.product.prodname_dotcom_the_website %}` (#52069) 2024-10-07 08:26:50 +00:00
pre-release-program Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
products Align billing terminology and provide high-level overview (#38305) 2023-07-28 08:31:53 +00:00
profile Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
project-management Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
projects Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
pull_requests Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
rai Delete orphaned files (2024-11-04-16-33) (#52970) 2024-11-05 09:46:11 -05:00
release-notes known issue: ghe-repl-promote when the primary is down (#53098) 2024-11-14 16:59:22 +00:00
releases Part 4: Update data dir from dash to asterisk (#51098) 2024-06-13 10:54:08 -07:00
reminders Part 4: Update data dir from dash to asterisk (#51098) 2024-06-13 10:54:08 -07:00
repositories Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
rest-api Delete orphaned files (2024-11-04-16-33) (#52970) 2024-11-05 09:46:11 -05:00
saml Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
scim Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
search Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
secret-scanning Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
security Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
security-advisory Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
security-campaigns October 28-30: GitHub Universe 2024 docs-internal megabranch (#52491) 2024-10-29 08:40:06 -07:00
security-configurations Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
security-overview Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
server-statistics Fix ordered lists to only use 1. (#38283) 2023-06-26 16:25:04 -07:00
shortdesc Delete orphaned files (2024-11-04-16-33) (#52970) 2024-11-05 09:46:11 -05:00
sponsors Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
ssh Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
stars Remove trailing spaces from Markdown 2023-09-21 16:20:15 -07:00
subversion Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
support Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
supported-languages move new article and update links to it 2024-09-30 10:30:59 +01:00
time_date Fix trailing spaces in content and data (#37904) 2023-06-23 10:45:10 -07:00
two_fa Update 2FA docs for secure methods feature for orgs and enterprises (#53115) 2024-11-20 22:25:24 +00:00
user-settings Fix formatting of text with octicons - part 4 (#35351) 2024-11-19 17:33:50 +00:00
vs-code
webhooks Fix inconsistent alerts by using the markdown notation - part 4 (#35223) 2024-11-12 22:42:57 +00:00
README.md fix incorrect code languages 2023-09-25 11:40:18 -07: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 %}.

Indenting

Indented reusables require a special liquid tag: indented_data_reference which also requires the number of spaces to indent as an argument.

For example, to indent /data/reusables/foo/bar.md in an ordered list, you could:

1. My first list item
{% indented_data_reference reusables.foo.par spaces=2 %}
1. My second list item

Versioning

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