1
0
mirror of synced 2025-12-30 12:02:01 -05:00
Files
docs/data/reusables
Ethan Palm d2eaff2d34 [March 24] Security overview beta (#18341)
* Add 'Security Center' product name variable

* Update index with new Security Center category

* Revert "Update index with new Security Center category"

This reverts commit 74aee4b050639626d2b49d914e4ab7b8c0f63ddc.

* Update Code Security index

* Create index.md for Security Center

* Create Security Center reusables

Beta flag and gated feature

* update AE versioning

* Remove "Security Center" from titles and intros

* Remove "security center" from beta flag

* Add images

* Procedures for filtering and sorting

* Incorporate reviewer feedback

* Incorporate reviewer feedback

Three images will need to be updated

* Update images
2021-03-29 09:25:36 -04:00
..
2020-11-02 15:12:44 -06:00
2020-11-02 15:12:44 -06:00
2020-11-05 07:17:59 -06:00
2021-02-26 09:03:25 -05:00
2020-12-09 20:02:21 +00:00
2020-11-02 15:12:44 -06:00
2021-02-26 23:32:54 +01:00
2020-09-27 14:10:11 +02:00
2021-03-16 07:58:04 +00:00
2020-11-02 15:12:44 -06:00
2021-03-12 13:53:38 -08:00
2020-11-04 21:04:48 +01:00
2020-09-27 14:10:11 +02:00
2021-03-04 10:52:15 -08:00
2020-09-27 14:10:11 +02:00

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