docs/data/variables
Ben Ahmady 462c7ca2d7
Creates a variable for compiled languages in code scanning docs, consolidates existing autobuild variables (#37673)
Co-authored-by: Felicity Chapman <felicitymay@github.com>
2023-06-09 16:41:27 +00:00
..
README.md Always use ```yaml instead of sometimes ```yml 2021-05-07 12:06:04 +02:00
actions.yml revised diagram, added variable for product name 2022-08-22 14:27:56 +10:00
code-languages.yml Create a list of known code languages (#37648) 2023-06-08 17:44:56 +00:00
code-scanning.yml Creates a variable for compiled languages in code scanning docs, consolidates existing autobuild variables (#37673) 2023-06-09 16:41:27 +00:00
codespaces.yml Add info on using github.dev behind a firewall (#33184) 2022-12-14 15:37:59 +00:00
command_line.yml Update styling for placeholder text 2022-11-18 16:02:31 -05:00
contact.yml Rename github-community to community 2022-07-27 17:36:23 -04:00
dependency-review.yml Move variable relating to Dependency Review outside the `product.yml` file (#33443) 2022-12-12 15:13:44 +00:00
desktop.yml Bump Desktop macOS requirement to 10.13 (#35465) 2023-03-21 18:48:07 +00:00
enterprise.yml GitHub Enterprise Server 3.7 release candidate (#31313) 2022-10-25 18:35:59 +02:00
explore.yml GHEC version (#20947) 2021-10-15 15:41:33 -05:00
gists.yml Creating `savings gists with stars` doc (#37089) 2023-05-17 07:55:50 +00:00
large_files.yml
location.yml Updating error message for OpenAPI Descriptions check (#31720) 2022-10-17 19:35:34 +00:00
migrations.yml [Megabranch] Add new top-level docset, "Migrations" (#35085) 2023-03-09 14:47:35 +00:00
notifications.yml GHEC version (#20947) 2021-10-15 15:41:33 -05:00
package_registry.yml Add maximum gem metadata size limit to GitHub Package RubyGems Registry documentation (#35797) 2023-03-24 08:34:42 +00:00
product.yml GitHub Enterprise Server 3.9 release candidate (#36631) 2023-06-08 17:40:16 +00:00
projects.yml [DO NOT MERGE] GitHub Enterprise Server 3.8 release candidate (#34113) 2023-02-07 17:49:44 +00:00
release_candidate.yml GitHub Enterprise Server 3.9 release candidate (#36631) 2023-06-08 17:40:16 +00:00
search.yml GHEC version (#20947) 2021-10-15 15:41:33 -05:00
secret-scanning.yml Multi-repo enablement (#36351) 2023-04-17 17:36:23 +00:00
visual_studio.yml [2022-10-31] Visual Studio — remove anything that isn't a product name (#32119) 2022-10-31 10:45:43 +00:00

README.md

Variables

Variables are short strings of reusable text.

The YAML files in this directory each contain multiple variables.

The path, filename, and keys within each YAML file determine what its path will be in the data object.

For example, given a file data/variables/foo/bar.yml:

# multiple short strings in one file
meaning_of_life: 42

# and they can be nested if needed
nested:
  values:
    too: Yes!

Its values would be accessible as:

{% data foo.bar.meaning_of_life %}

{% data foo.bar.nested.values.too %}