aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
diff options
context:
space:
mode:
authorGravatar Laurent Le Brun <laurentlb@google.com>2016-01-07 16:47:14 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-01-07 20:20:06 +0000
commit6ecf17a26b1907362c45410c6399533e48f8c467 (patch)
tree898e2e433e8d778e116045637fcd648d36d07352 /site
parent958ef82df21e4778df00891f96531c75ff24c5ac (diff)
Fix example of macro in the documentation
-- MOS_MIGRATED_REVID=111607647
Diffstat (limited to 'site')
-rw-r--r--site/docs/skylark/macros.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/docs/skylark/macros.md b/site/docs/skylark/macros.md
index 0a7458c5ef..f4f6129385 100644
--- a/site/docs/skylark/macros.md
+++ b/site/docs/skylark/macros.md
@@ -108,7 +108,7 @@ a separate `.bzl` file. For example, write the definition of the macro in
`path/generator.bzl`:
```
-def my_macro(name, arg, visibility=None):
+def file_generator(name, arg, visibility=None):
native.genrule(
name = name,
outs = [name + ".txt"],