generated from bazel-contrib/rules-template
-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docs): improved navigation and structure for API docs (#400)
Follows pattern from our other rulesets, makes it easier to link users to docs. --- ### Changes are visible to end-users: no ### Test plan None --------- Co-authored-by: Matt Mackay <[email protected]>
- Loading branch information
Showing
17 changed files
with
633 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Migrating rules from rules_python to rules_py | ||
|
||
rules_py tries to closely mirror the API of rules_python. | ||
Migration is a "drop-in replacement" for the majority of use cases. | ||
|
||
## Replace load statements | ||
|
||
Instead of loading from `@rules_python//python:defs.bzl`, load from `@aspect_rules_py//py:defs.bzl`. | ||
The rest of the BUILD file can remain the same. | ||
|
||
If using Gazelle, see the note on [using with Gazelle](/README.md#using-with-gazelle) | ||
|
||
## Remaining notes | ||
|
||
Users are encouraged to send a Pull Request to add more documentation as they uncover issues during migrations. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.