mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-11-27 17:43:27 +00:00
6f7469dd03
* add stardoc helpers * fix incorrect default template in stardoc_with_diff_test() * add stardoc helpers * fix failing build for docs.md; add templates; cleanup
35 lines
856 B
Python
35 lines
856 B
Python
# These loads are in the docs/ package rather than anything users depend on
|
|
# so that the dependency on stardoc doesn't leak to them.
|
|
load("//lib:docs.bzl", "stardoc_with_diff_test", "update_docs")
|
|
|
|
stardoc_with_diff_test(
|
|
bzl_library_target = "//lib:docs",
|
|
out_label = "//docs:docs.md",
|
|
)
|
|
|
|
stardoc_with_diff_test(
|
|
bzl_library_target = "//lib:expand_make_vars",
|
|
out_label = "//docs:expand_make_vars.md",
|
|
)
|
|
|
|
stardoc_with_diff_test(
|
|
bzl_library_target = "//lib:params_file",
|
|
func_template = "//docs/templates:func_html.vm",
|
|
out_label = "//docs:params_file.md",
|
|
)
|
|
|
|
stardoc_with_diff_test(
|
|
bzl_library_target = "//lib:paths",
|
|
out_label = "//docs:paths.md",
|
|
)
|
|
|
|
stardoc_with_diff_test(
|
|
bzl_library_target = "//lib:utils",
|
|
out_label = "//docs:utils.md",
|
|
)
|
|
|
|
update_docs(
|
|
name = "update",
|
|
docs_folder = "docs",
|
|
)
|