Skip to content

Commit 0e60058

Browse files
authored
docs: add stubs so Bazel docs link to a valid file (bazel-contrib#2309)
The Bazel docs link to the implementation files, which were recently moved. To avoid users getting a 404, add stub files with some text to direct them somewhere useful. Work towards bazelbuild/bazel#24014
1 parent eb2225c commit 0e60058

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
"""Stub file for Bazel docs to link to.
2+
3+
The Bazel docs link to this file, but the implementation was moved.
4+
5+
Please see: https://rules-python.readthedocs.io/en/latest/api/rules_python/python/defs.html#py_binary
6+
"""
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
"""Stub file for Bazel docs to link to.
2+
3+
The Bazel docs link to this file, but the implementation was moved.
4+
5+
Please see: https://rules-python.readthedocs.io/en/latest/api/rules_python/python/defs.html#py_library
6+
"""
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
"""Stub file for Bazel docs to link to.
2+
3+
The Bazel docs link to this file, but the implementation was moved.
4+
5+
Please see: https://rules-python.readthedocs.io/en/latest/api/rules_python/python/defs.html#py_runtime
6+
"""
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
"""Stub file for Bazel docs to link to.
2+
3+
The Bazel docs link to this file, but the implementation was moved.
4+
5+
Please see: https://rules-python.readthedocs.io/en/latest/api/rules_python/python/defs.html#py_test
6+
"""

0 commit comments

Comments
 (0)