-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable render_main_repo_name by default with starlark_doc_extract (#168)
Most Stardoc users are probably documenting their rules for users from other repos - so we ought to render labels in the repo being documented with the repo name.
- Loading branch information
Showing
8 changed files
with
68 additions
and
33 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
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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
|
||
� | ||
� | ||
|
||
my_exampleSmall example of rule.* | ||
nameA unique name for this target. 7 | ||
uselessThis argument will be ignored.2 | ||
"ignoreme""9 | ||
"ignoreme""J | ||
|
||
my_example+//test:testdata/proto_format_test/input.bzl� | ||
my_example<@io_bazel_stardoc//test:testdata/proto_format_test/input.bzl� | ||
example$Stores information about an example. | ||
fooA string representing foo | ||
barA string representing bar | ||
bazA string representing baz"6 | ||
example+//test:testdata/proto_format_test/input.bzl� | ||
bazA string representing baz"G | ||
example<@io_bazel_stardoc//test:testdata/proto_format_test/input.bzl� | ||
check_function% | ||
fooA unique name for this rule. �Runs some checks on the given function parameter. | ||
|
||
This rule runs checks on a given function parameter. | ||
Use `bazel build` to run the check. | ||
2= | ||
check_function+//test:testdata/proto_format_test/input.bzl* Input file for proto format test2+//test:testdata/proto_format_test/input.bzl | ||
2N | ||
check_function<@io_bazel_stardoc//test:testdata/proto_format_test/input.bzl* Input file for proto format test2<@io_bazel_stardoc//test:testdata/proto_format_test/input.bzl |