Given a .bzl that defines a macro like:
def foo(
name,
bar,
baz,
**kwargs):
"""Does something.
Args:
name: Name of the build target.
bar: Bar.
baz: Baz.
**kwargs: Other args to be passed on to genrules.
"""
I expected to be able to leverage implicit concatenation of adjacent strings to split the DocString into multiple chunks with comments interleaved between them: e.g.:
def foo(
name,
bar, # strip
baz, #strip
**kwargs):
"""Does something.
Args:
name: Name of the build target.
"""
# begin-strip
"""
bar: Bar.
baz: Baz.
"""
# end-strip
"""
**kwargs: Other args to be passed on to genrules.
"""
Given a .bzl that defines a macro like:
I expected to be able to leverage implicit concatenation of adjacent strings to split the DocString into multiple chunks with comments interleaved between them: e.g.: