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: CHANGELOG.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
@@ -13,12 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
14
14
### Fix
15
15
16
-
- Remove dependency on `@bazel_tools//tools/build_defs/repo` to support Bazel 7.0.0 [#22](https://github.com/TendTo/rules_doxygen/issues/22)
16
+
- Remove dependency on `@bazel_tools//tools/build_defs/repo` to support Bazel 7.0.0 [#22](https://github.com/TendTo/rules_doxygen/issues/22) (thanks to @filmil)
17
17
- Remove unnecessary `get_auth`
18
18
19
19
### Changed
20
20
21
-
-Updated documentation and added example with the output substitution
21
+
-Made documentation clearer
22
22
23
23
## [2.2.1]
24
24
@@ -88,7 +88,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
88
### Added
89
89
90
90
- Support for system-wide doxygen installation. This allows the rule to run on mac os, but loses hermeticity. Can be enabled by using doxygen version `0.0.0`.
Returns the default canonical id to use for downloads.
16
+
17
+
Copied from [@bazel_tools//tools/build_defs/repo:cache.bzl](https://github.com/bazelbuild/bazel/blob/dbb05116a07429ec3524bcf7252cedbb11269bea/tools/build_defs/repo/cache.bzl)
18
+
to avoid a dependency on the whole `@bazel_tools` package, since its visibility changed from private to public between Bazel 7.0.0 and 8.0.0.
19
+
20
+
Returns `""` (empty string) when Bazel is run with
| <aid="get_default_canonical_id-repository_ctx"></a>repository_ctx | The repository context of the repository rule calling this utility function. | none |
41
+
| <aid="get_default_canonical_id-urls"></a>urls | A list of URLs matching what is passed to `repository_ctx.download` and `repository_ctx.download_and_extract`. | none |
42
+
43
+
**RETURNS**
44
+
45
+
The canonical ID to use for the download, or an empty string if
46
+
`BAZEL_HTTP_RULES_URLS_AS_DEFAULT_CANONICAL_ID` is set to `0`.
| <aid="doxygen_extension.configuration-executable"></a>executable |The doxygen executable to use. If set, no download will take place and the provided doxygen executable will be used. Mutually exclusive with `version`. | <ahref="https://bazel.build/concepts/labels">Label</a> | optional |`None`|
234
-
| <aid="doxygen_extension.configuration-platform"></a>platform | The target platform for the doxygen binary. Available options are (windows, mac, mac-arm, linux, linux-arm). If not specified, it will select the platform it is currently running on. | String | optional |`""`|
277
+
| <aid="doxygen_extension.configuration-executable"></a>executable |Target pointing to the doxygen executable to use. If set, no download will take place and the provided doxygen executable will be used. Mutually exclusive with `version`. | <ahref="https://bazel.build/concepts/labels">Label</a> | optional |`None`|
278
+
| <aid="doxygen_extension.configuration-platform"></a>platform | The platform this configuration applies to. Available options are (windows, mac, mac-arm, linux, linux-arm). If not specified, the configuration will apply to the platform it is currently running on. | String | optional |`""`|
235
279
| <aid="doxygen_extension.configuration-sha256"></a>sha256 | The sha256 hash of the doxygen archive. If not specified, an all-zero hash will be used. | String | optional |`""`|
236
280
| <aid="doxygen_extension.configuration-version"></a>version | The version of doxygen to use. If set to `0.0.0`, the doxygen executable will be assumed to be available from the PATH. Mutually exclusive with `executable`. | String | optional |`""`|
| <aid="doxygen_extension.repository-name"></a>name | The name of the repository the extension will create. Useful if you don't use 'rules_doxygen' as a dev_dependency, since it will avoid name collision for module depending on yours. Can only be specified once. Defaults to 'doxygen'. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
"version": attr.string(doc="The version of doxygen to use. If set to `0.0.0`, the doxygen executable will be assumed to be available from the PATH. Mutually exclusive with `executable`."),
322
322
"sha256": attr.string(doc="The sha256 hash of the doxygen archive. If not specified, an all-zero hash will be used."),
323
-
"platform": attr.string(doc="The target platform for the doxygen binary. Available options are (windows, mac, mac-arm, linux, linux-arm). If not specified, it will select the platform it is currently running on."),
324
-
"executable": attr.label(doc="The doxygen executable to use. If set, no download will take place and the provided doxygen executable will be used. Mutually exclusive with `version`."),
323
+
"platform": attr.string(doc="The platform this configuration applies to. Available options are (windows, mac, mac-arm, linux, linux-arm). If not specified, the configuration will apply to the platform it is currently running on."),
324
+
"executable": attr.label(doc="Target pointing to the doxygen executable to use. If set, no download will take place and the provided doxygen executable will be used. Mutually exclusive with `version`."),
325
325
})
326
326
_doxygen_repository_tag=tag_class(attrs= {
327
-
"name": attr.string(doc="The name of the repository the extension will create. Useful if you don't use 'rules_doxygen' as a dev_dependency, since it will avoid name collision for module depending on yours. Must be the same for all configurations. Defaults to 'doxygen'.", mandatory=True),
327
+
"name": attr.string(doc="The name of the repository the extension will create. Useful if you don't use 'rules_doxygen' as a dev_dependency, since it will avoid name collision for module depending on yours. Can only be specified once. Defaults to 'doxygen'.", mandatory=True),
0 commit comments