Skip to content

Commit 2a5c691

Browse files
alan-agius4AndrewKushnir
authored andcommitted
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`
1 parent a1eb2ce commit 2a5c691

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

adev/shared-docs/pipeline/api-gen/rendering/render_api_to_html.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def _render_api_to_html(ctx):
2424
executable = ctx.executable._render_api_to_html,
2525
outputs = outputs,
2626
arguments = [args],
27+
mnemonic = "RenderApiToHtml",
2728
env = {
2829
"BAZEL_BINDIR": ".",
2930
},

packages/localize/init/BUILD.bazel

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
load("//adev/shared-docs/pipeline/api-gen:generate_api_docs.bzl", "generate_api_docs")
21
load("//tools:defaults.bzl", "ts_project")
32

43
package(default_visibility = ["//visibility:public"])
@@ -24,13 +23,3 @@ filegroup(
2423
"*.ts",
2524
]) + ["PACKAGE.md"],
2625
)
27-
28-
generate_api_docs(
29-
name = "localize_docs",
30-
srcs = [
31-
":files_for_docgen",
32-
"//packages:common_files_and_deps_for_docs",
33-
],
34-
entry_point = ":index.ts",
35-
module_name = "@angular/localize/init",
36-
)

0 commit comments

Comments
 (0)