Skip to content

Commit

Permalink
Move link to make document a bit easier to follow.
Browse files Browse the repository at this point in the history
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 #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
  • Loading branch information
adam-azarchs authored and Copybara-Service committed Jul 26, 2022
1 parent 9fc089d commit 5b64255
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site/en/rules/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 5b64255

Please sign in to comment.