Fix `update_docs` with Bazel 7 and stardoc 0.6.0
This commit is contained in:
parent
e549125016
commit
682d6f2345
|
@ -58,7 +58,7 @@ def update_docs(name = "update", **kwargs):
|
|||
|
||||
update_files = {}
|
||||
for r in native.existing_rules().values():
|
||||
if r["kind"] == "stardoc":
|
||||
if r["generator_function"] == "stardoc_with_diff_test" and r["generator_name"] == r["name"]:
|
||||
for tag in r["tags"]:
|
||||
if tag.startswith("package:"):
|
||||
stardoc_name = r["name"]
|
||||
|
|
Loading…
Reference in New Issue