diff options
author | brandjon <brandjon@google.com> | 2018-03-10 20:37:31 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-10 20:39:24 -0800 |
commit | 260f6b2542ad99ca832d7edb11f81ea798ef7a7c (patch) | |
tree | 1dcf123314268c2b7fab9a4fb08a851e1ee4bcb6 /site/docs/skylark | |
parent | 27bb6dda6051aa5253488497053f18a0c37dc645 (diff) |
Fix broken links and formatting
RELNOTES: None
PiperOrigin-RevId: 188625855
Diffstat (limited to 'site/docs/skylark')
-rw-r--r-- | site/docs/skylark/cookbook.md | 2 | ||||
-rw-r--r-- | site/docs/skylark/rules.md | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/site/docs/skylark/cookbook.md b/site/docs/skylark/cookbook.md index 7fd742688e..11cae9a9fa 100644 --- a/site/docs/skylark/cookbook.md +++ b/site/docs/skylark/cookbook.md @@ -5,7 +5,7 @@ title: Extensions examples # Extensions examples -**Tip:** For further examples, see the [GitHub repository](https://github.com/bazelbuild/examples/tree/master/rules/custom_outputs). +**Tip:** For further examples, see the [GitHub repository](https://github.com/bazelbuild/examples/tree/master/rules). <!-- [TOC] --> diff --git a/site/docs/skylark/rules.md b/site/docs/skylark/rules.md index 0f8772bf86..ed25ec9136 100644 --- a/site/docs/skylark/rules.md +++ b/site/docs/skylark/rules.md @@ -235,7 +235,7 @@ output*. There are multiple ways for a rule to introduce a predeclared output: See [Executable rules](#executable-rules-and-test-rules) below. All predeclared outputs can be accessed within the rule's implementation -function under the [`ctx.outputs`](lib/ctx.html#output) struct; see that page +function under the [`ctx.outputs`](lib/ctx.html#outputs) struct; see that page for details and restrictions. Non-predeclared outputs are created during analysis using the [`ctx.actions.declare_file`](lib/actions.html#declare_file) and [`ctx.actions.declare_directory`](lib/actions.html#declare_directory) @@ -666,7 +666,7 @@ specify one using `DefaultInfo`; it must not be used otherwise. This output mechanism is deprecated because it does not support customizing the executable file's name at analysis time. -See examples of an [executable rule](https://github.com/bazelbuild/examples/blob/master/rules/executable/executable.bzl) +See examples of an [executable rule](https://github.com/bazelbuild/examples/blob/master/rules/executable/fortune.bzl) and a [test rule](https://github.com/bazelbuild/examples/blob/master/rules/test_rule/line_length.bzl). Test rules inherit the following attributes: `args`, `flaky`, `local`, |