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