aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/versions/master/docs/skylark/macros.md
diff options
context:
space:
mode:
authorGravatar laszlocsomor <laszlocsomor@google.com>2017-04-03 13:09:47 +0000
committerGravatar Marcel Hlopko <hlopko@google.com>2017-04-04 10:06:36 +0200
commit79251005cdb44781703e498045453efa1b1623a5 (patch)
tree712001fb9c3b629154b6a5235ba5df78b6290701 /site/versions/master/docs/skylark/macros.md
parent13b0daaee2d2979f7fbbddd5fb054462944c0536 (diff)
Remove leading '$' from docs that are interfering with copy/paste
Fixes: https://github.com/bazelbuild/bazel/issues/2399 Change-Id: I21d00430cdf7ece72f532a1cb1be94e9b07a0114 PiperOrigin-RevId: 152001779
Diffstat (limited to 'site/versions/master/docs/skylark/macros.md')
-rw-r--r--site/versions/master/docs/skylark/macros.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/site/versions/master/docs/skylark/macros.md b/site/versions/master/docs/skylark/macros.md
index ba9c785e36..7782198287 100644
--- a/site/versions/master/docs/skylark/macros.md
+++ b/site/versions/master/docs/skylark/macros.md
@@ -42,7 +42,10 @@ macro), use the constant [PACKAGE_NAME](lib/globals.html#PACKAGE_NAME).
* You may filter the output based on `generator_function` (which function
generated the rules) or `generator_name` (the name attribute of the macro),
- e.g. `$ bazel query --output=build 'attr(generator_function, my_macro, //my/path:all)'`
+ e.g.
+ ```bash
+ $ bazel query --output=build 'attr(generator_function, my_macro, //my/path:all)'
+ ```
* To find out where exactly the rule `foo` is generated in a BUILD file, you
can try the following trick. Insert this line near the top of the BUILD