Skip to content

Commit fe9fd2d

Browse files
authored
docs: Fix broken links to bzlmod build_file_generation example (#3464)
The `examples/bzlmod_build_file_generation` directory was moved under the gazelle directory in f92ad71 This fixes some outdated links/references to that old directory
1 parent 1090b6c commit fe9fd2d

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

.bazelignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ examples/bzlmod/other_module/bazel-other_module
1919
examples/bzlmod/other_module/bazel-out
2020
examples/bzlmod/other_module/bazel-testlogs
2121
examples/bzlmod/py_proto_library/foo_external
22-
examples/bzlmod_build_file_generation/bazel-bzlmod_build_file_generation
2322
examples/multi_python_versions/bazel-multi_python_versions
2423
examples/pip_parse/bazel-pip_parse
2524
examples/pip_parse_vendored/bazel-pip_parse_vendored

BZLMOD_SUPPORT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ We have two examples that demonstrate how to configure `bzlmod`.
2727
The first example is in [examples/bzlmod](examples/bzlmod), and it demonstrates basic bzlmod configuration.
2828
A user does not use `local_path_override` stanza and would define the version in the `bazel_dep` line.
2929

30-
A second example, in [examples/bzlmod_build_file_generation](examples/bzlmod_build_file_generation) demonstrates the use of `bzlmod` to configure `gazelle` support for `rules_python`.
30+
A second example, in [gazelle/examples/bzlmod_build_file_generation](gazelle/examples/bzlmod_build_file_generation) demonstrates the use of `bzlmod` to configure `gazelle` support for `rules_python`.
3131

3232
## Differences in behavior from WORKSPACE
3333

examples/build_file_generation/.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ test --test_output=errors --enable_runfiles
33
# Windows requires these for multi-python support:
44
build --enable_runfiles
55

6-
# The bzlmod version of this example is in examples/bzlmod_build_file_generation
6+
# The bzlmod version of this example is in gazelle/examples/bzlmod_build_file_generation
77
# Once WORKSPACE support is dropped, this example can be entirely deleted.
88
common --noenable_bzlmod
99
common --enable_workspace

gazelle/docs/installation_and_usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Examples of using Gazelle with Python can be found in the `rules_python`
66
repo:
77

8-
* bzlmod: {gh-path}`examples/bzlmod_build_file_generation`
8+
* bzlmod: {gh-path}`gazelle/examples/bzlmod_build_file_generation`
99
* WORKSPACE: {gh-path}`examples/build_file_generation`
1010

1111
:::{note}

0 commit comments

Comments
 (0)