From 79251005cdb44781703e498045453efa1b1623a5 Mon Sep 17 00:00:00 2001 From: laszlocsomor Date: Mon, 3 Apr 2017 13:09:47 +0000 Subject: Remove leading '$' from docs that are interfering with copy/paste Fixes: https://github.com/bazelbuild/bazel/issues/2399 Change-Id: I21d00430cdf7ece72f532a1cb1be94e9b07a0114 PiperOrigin-RevId: 152001779 --- site/versions/master/docs/skylark/macros.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'site/versions/master/docs/skylark/macros.md') 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 -- cgit v1.2.3