build: remove API doc generation for localize/init and add mnemonic to API rendering rule.

The removed target was not used and was generating an empty output which causes `java.io.IOException: mandatory output packages/localize/init/localize_docs_html was not created`
This commit is contained in:
Alan Agius
2025-12-15 10:40:09 +00:00
committed by Andrew Kushnir
parent a1eb2cef16
commit 2a5c6919d0
2 changed files with 1 additions and 11 deletions
@@ -24,6 +24,7 @@ def _render_api_to_html(ctx):
executable = ctx.executable._render_api_to_html,
outputs = outputs,
arguments = [args],
mnemonic = "RenderApiToHtml",
env = {
"BAZEL_BINDIR": ".",
},
-11
View File
@@ -1,4 +1,3 @@
load("//adev/shared-docs/pipeline/api-gen:generate_api_docs.bzl", "generate_api_docs")
load("//tools:defaults.bzl", "ts_project")
package(default_visibility = ["//visibility:public"])
@@ -24,13 +23,3 @@ filegroup(
"*.ts",
]) + ["PACKAGE.md"],
)
generate_api_docs(
name = "localize_docs",
srcs = [
":files_for_docgen",
"//packages:common_files_and_deps_for_docs",
],
entry_point = ":index.ts",
module_name = "@angular/localize/init",
)