xref: /aosp_15_r20/external/bazel-skylib/docs/BUILD (revision bcb5dc7965af6ee42bf2f21341a2ec00233a8c8a)
1*bcb5dc79SHONG Yifanload("//docs/private:stardoc_with_diff_test.bzl", "stardoc_with_diff_test", "update_docs")
2*bcb5dc79SHONG Yifan
3*bcb5dc79SHONG Yifanpackage(default_applicable_licenses = ["//:license"])
4*bcb5dc79SHONG Yifan
5*bcb5dc79SHONG Yifanlicenses(["notice"])
6*bcb5dc79SHONG Yifan
7*bcb5dc79SHONG Yifanstardoc_with_diff_test(
8*bcb5dc79SHONG Yifan    name = "analysis_test",
9*bcb5dc79SHONG Yifan    bzl_library_target = "//rules:analysis_test",
10*bcb5dc79SHONG Yifan    out_label = "//docs:analysis_test_doc.md",
11*bcb5dc79SHONG Yifan)
12*bcb5dc79SHONG Yifan
13*bcb5dc79SHONG Yifanstardoc_with_diff_test(
14*bcb5dc79SHONG Yifan    name = "build_test",
15*bcb5dc79SHONG Yifan    bzl_library_target = "//rules:build_test",
16*bcb5dc79SHONG Yifan    out_label = "//docs:build_test_doc.md",
17*bcb5dc79SHONG Yifan)
18*bcb5dc79SHONG Yifan
19*bcb5dc79SHONG Yifanstardoc_with_diff_test(
20*bcb5dc79SHONG Yifan    name = "bzl_library",
21*bcb5dc79SHONG Yifan    bzl_library_target = "//:bzl_library",
22*bcb5dc79SHONG Yifan    out_label = "//docs:bzl_library.md",
23*bcb5dc79SHONG Yifan)
24*bcb5dc79SHONG Yifan
25*bcb5dc79SHONG Yifanstardoc_with_diff_test(
26*bcb5dc79SHONG Yifan    name = "collections",
27*bcb5dc79SHONG Yifan    bzl_library_target = "//lib:collections",
28*bcb5dc79SHONG Yifan    out_label = "//docs:collections_doc.md",
29*bcb5dc79SHONG Yifan)
30*bcb5dc79SHONG Yifan
31*bcb5dc79SHONG Yifanstardoc_with_diff_test(
32*bcb5dc79SHONG Yifan    name = "common_settings",
33*bcb5dc79SHONG Yifan    bzl_library_target = "//rules:common_settings",
34*bcb5dc79SHONG Yifan    out_label = "//docs:common_settings_doc.md",
35*bcb5dc79SHONG Yifan)
36*bcb5dc79SHONG Yifan
37*bcb5dc79SHONG Yifanstardoc_with_diff_test(
38*bcb5dc79SHONG Yifan    name = "copy_directory",
39*bcb5dc79SHONG Yifan    bzl_library_target = "//rules:copy_directory",
40*bcb5dc79SHONG Yifan    out_label = "//docs:copy_directory_doc.md",
41*bcb5dc79SHONG Yifan)
42*bcb5dc79SHONG Yifan
43*bcb5dc79SHONG Yifanstardoc_with_diff_test(
44*bcb5dc79SHONG Yifan    name = "copy_file",
45*bcb5dc79SHONG Yifan    bzl_library_target = "//rules:copy_file",
46*bcb5dc79SHONG Yifan    out_label = "//docs:copy_file_doc.md",
47*bcb5dc79SHONG Yifan)
48*bcb5dc79SHONG Yifan
49*bcb5dc79SHONG Yifanstardoc_with_diff_test(
50*bcb5dc79SHONG Yifan    name = "dicts",
51*bcb5dc79SHONG Yifan    bzl_library_target = "//lib:dicts",
52*bcb5dc79SHONG Yifan    out_label = "//docs:dicts_doc.md",
53*bcb5dc79SHONG Yifan)
54*bcb5dc79SHONG Yifan
55*bcb5dc79SHONG Yifanstardoc_with_diff_test(
56*bcb5dc79SHONG Yifan    name = "diff_test",
57*bcb5dc79SHONG Yifan    bzl_library_target = "//rules:diff_test",
58*bcb5dc79SHONG Yifan    out_label = "//docs:diff_test_doc.md",
59*bcb5dc79SHONG Yifan)
60*bcb5dc79SHONG Yifan
61*bcb5dc79SHONG Yifanstardoc_with_diff_test(
62*bcb5dc79SHONG Yifan    name = "directory",
63*bcb5dc79SHONG Yifan    bzl_library_target = "//rules/directory:directory",
64*bcb5dc79SHONG Yifan    out_label = "//docs:directory_doc.md",
65*bcb5dc79SHONG Yifan)
66*bcb5dc79SHONG Yifan
67*bcb5dc79SHONG Yifanstardoc_with_diff_test(
68*bcb5dc79SHONG Yifan    name = "directory_glob",
69*bcb5dc79SHONG Yifan    bzl_library_target = "//rules/directory:glob",
70*bcb5dc79SHONG Yifan    out_label = "//docs:directory_glob_doc.md",
71*bcb5dc79SHONG Yifan)
72*bcb5dc79SHONG Yifan
73*bcb5dc79SHONG Yifanstardoc_with_diff_test(
74*bcb5dc79SHONG Yifan    name = "directory_providers",
75*bcb5dc79SHONG Yifan    bzl_library_target = "//rules/directory:providers",
76*bcb5dc79SHONG Yifan    out_label = "//docs:directory_providers_doc.md",
77*bcb5dc79SHONG Yifan)
78*bcb5dc79SHONG Yifan
79*bcb5dc79SHONG Yifanstardoc_with_diff_test(
80*bcb5dc79SHONG Yifan    name = "directory_subdirectory",
81*bcb5dc79SHONG Yifan    bzl_library_target = "//rules/directory:subdirectory",
82*bcb5dc79SHONG Yifan    out_label = "//docs:directory_subdirectory_doc.md",
83*bcb5dc79SHONG Yifan)
84*bcb5dc79SHONG Yifan
85*bcb5dc79SHONG Yifanstardoc_with_diff_test(
86*bcb5dc79SHONG Yifan    name = "expand_template",
87*bcb5dc79SHONG Yifan    bzl_library_target = "//rules:expand_template",
88*bcb5dc79SHONG Yifan    out_label = "//docs:expand_template_doc.md",
89*bcb5dc79SHONG Yifan)
90*bcb5dc79SHONG Yifan
91*bcb5dc79SHONG Yifanstardoc_with_diff_test(
92*bcb5dc79SHONG Yifan    name = "modules",
93*bcb5dc79SHONG Yifan    bzl_library_target = "//lib:modules",
94*bcb5dc79SHONG Yifan    out_label = "//docs:modules_doc.md",
95*bcb5dc79SHONG Yifan)
96*bcb5dc79SHONG Yifan
97*bcb5dc79SHONG Yifanstardoc_with_diff_test(
98*bcb5dc79SHONG Yifan    name = "native_binary",
99*bcb5dc79SHONG Yifan    bzl_library_target = "//rules:native_binary",
100*bcb5dc79SHONG Yifan    out_label = "//docs:native_binary_doc.md",
101*bcb5dc79SHONG Yifan)
102*bcb5dc79SHONG Yifan
103*bcb5dc79SHONG Yifanstardoc_with_diff_test(
104*bcb5dc79SHONG Yifan    name = "new_sets",
105*bcb5dc79SHONG Yifan    bzl_library_target = "//lib:new_sets",
106*bcb5dc79SHONG Yifan    out_label = "//docs:new_sets_doc.md",
107*bcb5dc79SHONG Yifan)
108*bcb5dc79SHONG Yifan
109*bcb5dc79SHONG Yifanstardoc_with_diff_test(
110*bcb5dc79SHONG Yifan    name = "partial",
111*bcb5dc79SHONG Yifan    bzl_library_target = "//lib:partial",
112*bcb5dc79SHONG Yifan    out_label = "//docs:partial_doc.md",
113*bcb5dc79SHONG Yifan)
114*bcb5dc79SHONG Yifan
115*bcb5dc79SHONG Yifanstardoc_with_diff_test(
116*bcb5dc79SHONG Yifan    name = "paths",
117*bcb5dc79SHONG Yifan    bzl_library_target = "//lib:paths",
118*bcb5dc79SHONG Yifan    out_label = "//docs:paths_doc.md",
119*bcb5dc79SHONG Yifan)
120*bcb5dc79SHONG Yifan
121*bcb5dc79SHONG Yifanstardoc_with_diff_test(
122*bcb5dc79SHONG Yifan    name = "run_binary",
123*bcb5dc79SHONG Yifan    bzl_library_target = "//rules:run_binary",
124*bcb5dc79SHONG Yifan    out_label = "//docs:run_binary_doc.md",
125*bcb5dc79SHONG Yifan)
126*bcb5dc79SHONG Yifan
127*bcb5dc79SHONG Yifanstardoc_with_diff_test(
128*bcb5dc79SHONG Yifan    name = "selects",
129*bcb5dc79SHONG Yifan    bzl_library_target = "//lib:selects",
130*bcb5dc79SHONG Yifan    out_label = "//docs:selects_doc.md",
131*bcb5dc79SHONG Yifan)
132*bcb5dc79SHONG Yifan
133*bcb5dc79SHONG Yifanstardoc_with_diff_test(
134*bcb5dc79SHONG Yifan    name = "select_file",
135*bcb5dc79SHONG Yifan    bzl_library_target = "//rules:select_file",
136*bcb5dc79SHONG Yifan    out_label = "//docs:select_file_doc.md",
137*bcb5dc79SHONG Yifan)
138*bcb5dc79SHONG Yifan
139*bcb5dc79SHONG Yifanstardoc_with_diff_test(
140*bcb5dc79SHONG Yifan    name = "shell",
141*bcb5dc79SHONG Yifan    bzl_library_target = "//lib:shell",
142*bcb5dc79SHONG Yifan    out_label = "//docs:shell_doc.md",
143*bcb5dc79SHONG Yifan)
144*bcb5dc79SHONG Yifan
145*bcb5dc79SHONG Yifanstardoc_with_diff_test(
146*bcb5dc79SHONG Yifan    name = "structs",
147*bcb5dc79SHONG Yifan    bzl_library_target = "//lib:structs",
148*bcb5dc79SHONG Yifan    out_label = "//docs:structs_doc.md",
149*bcb5dc79SHONG Yifan)
150*bcb5dc79SHONG Yifan
151*bcb5dc79SHONG Yifanstardoc_with_diff_test(
152*bcb5dc79SHONG Yifan    name = "subpackages",
153*bcb5dc79SHONG Yifan    bzl_library_target = "//lib:subpackages",
154*bcb5dc79SHONG Yifan    out_label = "//docs:subpackages_doc.md",
155*bcb5dc79SHONG Yifan)
156*bcb5dc79SHONG Yifan
157*bcb5dc79SHONG Yifanstardoc_with_diff_test(
158*bcb5dc79SHONG Yifan    name = "types",
159*bcb5dc79SHONG Yifan    bzl_library_target = "//lib:types",
160*bcb5dc79SHONG Yifan    out_label = "//docs:types_doc.md",
161*bcb5dc79SHONG Yifan)
162*bcb5dc79SHONG Yifan
163*bcb5dc79SHONG Yifanstardoc_with_diff_test(
164*bcb5dc79SHONG Yifan    name = "unittest",
165*bcb5dc79SHONG Yifan    bzl_library_target = "//lib:unittest",
166*bcb5dc79SHONG Yifan    out_label = "//docs:unittest_doc.md",
167*bcb5dc79SHONG Yifan)
168*bcb5dc79SHONG Yifan
169*bcb5dc79SHONG Yifanstardoc_with_diff_test(
170*bcb5dc79SHONG Yifan    name = "versions",
171*bcb5dc79SHONG Yifan    bzl_library_target = "//lib:versions",
172*bcb5dc79SHONG Yifan    out_label = "//docs:versions_doc.md",
173*bcb5dc79SHONG Yifan)
174*bcb5dc79SHONG Yifan
175*bcb5dc79SHONG Yifanstardoc_with_diff_test(
176*bcb5dc79SHONG Yifan    name = "write_file",
177*bcb5dc79SHONG Yifan    bzl_library_target = "//rules:write_file",
178*bcb5dc79SHONG Yifan    out_label = "//docs:write_file_doc.md",
179*bcb5dc79SHONG Yifan)
180*bcb5dc79SHONG Yifan
181*bcb5dc79SHONG Yifan# update_docs must be at the bottom of the BUILD file
182*bcb5dc79SHONG Yifanupdate_docs(
183*bcb5dc79SHONG Yifan    name = "update",
184*bcb5dc79SHONG Yifan    docs_folder = "docs",
185*bcb5dc79SHONG Yifan)
186