Skip to content

Commit 15e9b4a

Browse files
authored
docs: fix refs to precompile source retention flag/attr in precompiling docs (#2419)
Regular md docs need the `bzl:` prefix. Without it, the string doesn't render at all.
1 parent 1944874 commit 15e9b4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/precompiling.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ A pyc-only build (aka "source less" builds) is when only `.pyc` files are
4545
included; the source `.py` files are not included.
4646

4747
To enable this, set
48-
{obj}`--@rules_python//python/config_settings:precompile_source_retention=omit_source`
49-
flag on the command line or the {attr}`precompile_source_retention=omit_source`
48+
{bzl:obj}`--@rules_python//python/config_settings:precompile_source_retention=omit_source`
49+
flag on the command line or the {bzl:attr}`precompile_source_retention=omit_source`
5050
attribute on specific targets.
5151

5252
The advantage of pyc-only builds are:

0 commit comments

Comments
 (0)