From 5b64255c7198d45c571f77988248ee54ac91924a Mon Sep 17 00:00:00 2001 From: Adam Azarchs Date: Mon, 25 Jul 2022 20:57:56 -0700 Subject: [PATCH] Move link to make document a bit easier to follow. Move the link to `#accessing-attributes-with-transitions` from the section about how to define 1:2 transitions into the section on how to attach an outgoing transition to an attribute, since that's the section people are most likely to be reading when they need to see that link. This got me, leading to me opening https://github.com/bazelbuild/bazel/issues/15892, because I wasn't implementing a 1:2+ transition and hadn't kept reading to the end of the document. Closes #15895. PiperOrigin-RevId: 463243990 Change-Id: I77584e2a0e5fd44695d5e7ce5ba23127d6fc278e --- site/en/rules/config.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site/en/rules/config.md b/site/en/rules/config.md index 8c6f80793cb0e3..1f4bc7fb03e7e0 100644 --- a/site/en/rules/config.md +++ b/site/en/rules/config.md @@ -512,9 +512,6 @@ multi_arch_transition = transition( ) ``` -See [Accessing attributes with transitions](#accessing-attributes-with-transitions) -for how to read these keys. - ### Attaching transitions {:#attaching-transitions} [End to end example](https://github.com/bazelbuild/examples/tree/HEAD/configurations/attaching_transitions_to_rules){: .external} @@ -560,6 +557,9 @@ drink_rule = rule( ``` Outgoing edge transitions can be 1:1 or 1:2+. +See [Accessing attributes with transitions](#accessing-attributes-with-transitions) +for how to read these keys. + ### Transitions on native options {:#transitions-native-options} [End to end example](https://github.com/bazelbuild/examples/tree/HEAD/configurations/transition_on_native_flag){: .external}