diff options
author | brandjon <brandjon@google.com> | 2018-04-19 12:11:06 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-19 12:12:22 -0700 |
commit | 788b63a8c90e57dba511de82afd47ea73680c906 (patch) | |
tree | be17846e80358f891d604655c7251d8ae647c665 /site/docs/skylark | |
parent | 1673cf67fc8be563ff3541795c42c44de1f70705 (diff) |
Make some links absolute
This was breaking an internal version of the documentation, though the public version worked correctly. Now it works both ways.
Also link directly to flag instead of section.
RELNOTES: None
PiperOrigin-RevId: 193554278
Diffstat (limited to 'site/docs/skylark')
-rw-r--r-- | site/docs/skylark/aspects.md | 4 | ||||
-rw-r--r-- | site/docs/skylark/rules.md | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/site/docs/skylark/aspects.md b/site/docs/skylark/aspects.md index 8f0d707e10..4558004535 100644 --- a/site/docs/skylark/aspects.md +++ b/site/docs/skylark/aspects.md @@ -152,8 +152,8 @@ does not provide anything, so it returns an empty list. ### Invoking the aspect using the command line The simplest way to apply an aspect is from the command line using the -[`--aspects`](../command-line-reference.html#flag--aspects) argument. Assuming -the rule above were defined in a file named `print.bzl` this: +[`--aspects`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--aspects) +argument. Assuming the rule above were defined in a file named `print.bzl` this: ```bash bazel build //MyExample:example --aspects print.bzl%print_aspect diff --git a/site/docs/skylark/rules.md b/site/docs/skylark/rules.md index c2634f17b5..25bc3a4b2a 100644 --- a/site/docs/skylark/rules.md +++ b/site/docs/skylark/rules.md @@ -576,10 +576,10 @@ of output files that may be requested together. For example, if a target `//pkg:mytarget` is of a rule type that has a `debug_files` output group, these files can be built by running `bazel build //pkg:mytarget --output_groups=debug_files`. See the [command line -reference](../command-line-reference.html#build) for details on the -`--output_groups` argument. Since non-predeclared outputs don't have labels, -they can only be requested by appearing in the default outputs or an output -group. +reference](https://docs.bazel.build/versions/master/command-line-reference.html#flag--output_groups) +for details on the `--output_groups` argument. Since non-predeclared outputs +don't have labels, they can only be requested by appearing in the default +outputs or an output group. You can specify the default outputs and output groups of a rule by returning the [`DefaultInfo`](lib/globals.html#DefaultInfo) and |