Skip to content

Commit 2b231bb

Browse files
docs: Update gazelle/README.md to fix package_name formatting (#1712)
Latex output was shown, should just be escaped ![image](https://github.com/bazelbuild/rules_python/assets/2636212/71b3a79a-41ea-4c01-8734-451c1f7b2157)
1 parent f78eae7 commit 2b231bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gazelle/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Python-specific directives are as follows:
187187
| `# gazelle:python_generation_mode_per_file_include_init`| `package` |
188188
| Controls whether `__init__.py` files are included as srcs in each generated target when target generation mode is "file". Can be "true", or "false" | |
189189
| `# gazelle:python_library_naming_convention`| `$package_name$` |
190-
| Controls the `py_library` naming convention. It interpolates \$package_name\$ with the Bazel package name. E.g. if the Bazel package name is `foo`, setting this to `$package_name$_my_lib` would result in a generated target named `foo_my_lib`. | |
190+
| Controls the `py_library` naming convention. It interpolates `$package_name$` with the Bazel package name. E.g. if the Bazel package name is `foo`, setting this to `$package_name$_my_lib` would result in a generated target named `foo_my_lib`. | |
191191
| `# gazelle:python_binary_naming_convention` | `$package_name$_bin` |
192192
| Controls the `py_binary` naming convention. Follows the same interpolation rules as `python_library_naming_convention`. | |
193193
| `# gazelle:python_test_naming_convention` | `$package_name$_test` |

0 commit comments

Comments
 (0)