diff options
author | laurentlb <laurentlb@google.com> | 2017-12-14 03:41:55 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-14 03:43:52 -0800 |
commit | 749165f7b0991feecc8209671c559e97ff43dcab (patch) | |
tree | 2a7e1924bf51aa5c9f00bbb6d1be010a82ad99b5 /site/docs/toolchains.md | |
parent | 10c8018d73e7dbefbc4cc730e0201cda9d9326ba (diff) |
Remove the word 'Skylark' when it doesn't add any value.
The word Skylark tends to be overused. We should use it only when we refer
to the language itself.
In many places, the word 'Skylark' was used, even if the reader may not know
it (e.g. "create a rule" is clearer than "create a Skylark rule").
RELNOTES: None.
PiperOrigin-RevId: 179024448
Diffstat (limited to 'site/docs/toolchains.md')
-rw-r--r-- | site/docs/toolchains.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/site/docs/toolchains.md b/site/docs/toolchains.md index a0b1512b4e..f5c910eea2 100644 --- a/site/docs/toolchains.md +++ b/site/docs/toolchains.md @@ -10,7 +10,7 @@ title: Toolchains - [Creating a toolchain rule](#creating-a-toolchain-rule) - [Creating a toolchain definition](#creating-a-toolchain-definition) - [Registering a toolchain](#registering-a-toolchain) -- [Using a toolchain in a Skylark rule](#using-a-toolchain-in-a-skylark-rule) +- [Using a toolchain in a new rule](#using-a-toolchain-in-a-rule) - [Debugging a toolchain](#debugging-a-toolchain) ## Overview @@ -69,7 +69,7 @@ Defining a toolchain requires the following: ### Creating a toolchain rule -Toolchain rules are Skylark rules that create and return providers. To define a +Toolchain rules are rules that create and return providers. To define a toolchain rule, first determine the information that the new rule will require. In the example below, we are adding support for a new programming language, so @@ -158,9 +158,9 @@ register_toolchains( ) ``` -## Using a toolchain in a Skylark rule +## Using a toolchain in a rule -To use a toolchain in a Skylark rule, add the toolchain type to the rule +To use a toolchain in a rule, add the toolchain type to the rule definition. For example: ```python |