You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/bazeldoc/build_rules_overview.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ On this page:
14
14
*[write_header](#write_header)
15
15
16
16
17
-
<aid="#doc_for_provs"></a>
17
+
<aid="doc_for_provs"></a>
18
18
19
19
## doc_for_provs
20
20
@@ -32,7 +32,7 @@ Defines targets for generating documentation, testing that the generated doc mat
32
32
| <aid="doc_for_provs-doc_provs"></a>doc_provs | A <code>list</code> of document provider <code>struct</code> values as returned from <code>providers.create()</code>. | none |
33
33
34
34
35
-
<aid="#write_file_list"></a>
35
+
<aid="write_file_list"></a>
36
36
37
37
## write_file_list
38
38
@@ -58,7 +58,7 @@ Defines a target that writes a documentation file that contains a header and a l
| <aid="bzlformat_format-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
31
-
| <aid="bzlformat_format-fix_lint_warnings"></a>fix_lint_warnings | Should lint warnings be fixed, if possible. | Boolean | optional | True |
32
-
| <aid="bzlformat_format-output_suffix"></a>output_suffix | The suffix added to the formatted output filename. | String | optional | ".formatted" |
33
-
| <aid="bzlformat_format-srcs"></a>srcs | The Starlark source files to format. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | required ||
34
-
| <aid="bzlformat_format-warnings"></a>warnings | The warnings that should be fixed if lint fix is enabled. | String | optional | "all" |
30
+
| <aid="bzlformat_format-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
31
+
| <aid="bzlformat_format-fix_lint_warnings"></a>fix_lint_warnings | Should lint warnings be fixed, if possible. | Boolean | optional |<code>True</code>|
32
+
| <aid="bzlformat_format-output_suffix"></a>output_suffix | The suffix added to the formatted output filename. | String | optional |<code>".formatted"</code>|
33
+
| <aid="bzlformat_format-srcs"></a>srcs | The Starlark source files to format. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | required ||
34
+
| <aid="bzlformat_format-warnings"></a>warnings | The warnings that should be fixed if lint fix is enabled. | String | optional |<code>"all"</code>|
35
35
36
36
37
-
<aid="#bzlformat_lint_test"></a>
37
+
<aid="bzlformat_lint_test"></a>
38
38
39
39
## bzlformat_lint_test
40
40
@@ -49,12 +49,12 @@ Lints the specified Starlark files using Buildifier.
49
49
50
50
| Name | Description | Type | Mandatory | Default |
| <aid="bzlformat_lint_test-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
53
-
| <aid="bzlformat_lint_test-srcs"></a>srcs | The Starlark source files to lint. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | required ||
54
-
| <aid="bzlformat_lint_test-warnings"></a>warnings | The warnings that should be fixed if lint fix is enabled. | String | optional | "all" |
52
+
| <aid="bzlformat_lint_test-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
53
+
| <aid="bzlformat_lint_test-srcs"></a>srcs | The Starlark source files to lint. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | required ||
54
+
| <aid="bzlformat_lint_test-warnings"></a>warnings | The warnings that should be fixed if lint fix is enabled. | String | optional |<code>"all"</code>|
| <aid="filter_srcs-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
21
-
| <aid="filter_srcs-expected_count"></a>expected_count | The expected number of results. | Integer | optional |-1|
22
-
| <aid="filter_srcs-filename_ends_with"></a>filename_ends_with | The suffix of the path will be compared to this value. | String | optional |""|
23
-
| <aid="filter_srcs-srcs"></a>srcs | The inputs that will be evaluated by the filter. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | required ||
20
+
| <aid="filter_srcs-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
21
+
| <aid="filter_srcs-expected_count"></a>expected_count | The expected number of results. | Integer | optional |<code>-1</code>|
22
+
| <aid="filter_srcs-filename_ends_with"></a>filename_ends_with | The suffix of the path will be compared to this value. | String | optional |<code>""</code>|
23
+
| <aid="filter_srcs-srcs"></a>srcs | The inputs that will be evaluated by the filter. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | required ||
| <aid="hash_sha256-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
21
-
| <aid="hash_sha256-src"></a>src | The file whose contents should be hashed. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | required ||
20
+
| <aid="hash_sha256-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
21
+
| <aid="hash_sha256-src"></a>src | The file whose contents should be hashed. | <ahref="https://bazel.build/concepts/labels">Label</a> | required ||
0 commit comments