mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Andrew Kushnir
parent
a1eb2cef16
commit
2a5c6919d0
@@ -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": ".",
|
||||
},
|
||||
|
||||
@@ -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",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user