forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalize repository starlark API docs
Now that Bazel built with JDK21, Starlark builtin documentation can be made more readable in source (and easier to author, since less escaping is required). This PR refactors the repository starlark API under `src/main/java/com/google/devtools/build/lib/bazel/repository/starlark/` to use multi-line text blocks. Minor edits have also been made to some documentation (replacing unprocessed back-ticks with HTML `code` tags, adding `code` tags where I think it makes sense, capitalization, punctuation). Stats wise (excluding `test` directory) this covers; - 34 of 1101 `@StarlarkMethod(...)` (5 of 170 files) - 5 of 233 `@StarlarkBuiltin(...)` (5 of 221 files) Closes bazelbuild#22762. PiperOrigin-RevId: 650649974 Change-Id: I3002b8d4bccbe1d11aa6aff184b448eb1f280ba4
- Loading branch information
1 parent
8c362a3
commit 772ba98
Showing
6 changed files
with
301 additions
and
217 deletions.
There are no files selected for viewing
299 changes: 170 additions & 129 deletions
299
.../com/google/devtools/build/lib/bazel/repository/starlark/StarlarkBaseExternalContext.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.