* Make changes for multiple config files * Clarify deprecated procedure * Optimize images * More WiP changes * More WiP changes * Update s/shots - no longer beta * Optimize images * More WiP changes * Fix broken links * WiP * Add authorizations screenshots * Optimize images * Reorg requested by reviewer * Update content/codespaces/prebuilding-your-codespaces/configuring-prebuilds.md * Update content/codespaces/prebuilding-your-codespaces/configuring-prebuilds.md * Update content/codespaces/prebuilding-your-codespaces/configuring-prebuilds.md * Update content/codespaces/prebuilding-your-codespaces/configuring-prebuilds.md Co-authored-by: Felicity Chapman <felicitymay@github.com> * Update content/codespaces/prebuilding-your-codespaces/configuring-prebuilds.md * Update content/codespaces/troubleshooting/troubleshooting-prebuilds.md Co-authored-by: Felicity Chapman <felicitymay@github.com> * Update data/reusables/codespaces/billing-for-prebuilds.md * Tiny tweak to creation article * Another tiny tweak to creation article * Fix self-referential link Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Felicity Chapman <felicitymay@github.com>
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.