aboutsummaryrefslogtreecommitdiff
path: root/docs/BUILD.bazel
blob: caf61b516849c012956053e55faa0a0f9c7e67cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
load("//docs:doc_helpers.bzl", "stardoc_with_diff_test", "update_docs")

# For each doc file, generate MD from bzl_library, then perform diff test
stardoc_with_diff_test(
    bzl_library_target = "//docs/go/extras:extras",
    out_label = "//docs/go/extras:extras.md",
    rule_template = "rule_body.vm",
)

stardoc_with_diff_test(
    bzl_library_target = "//docs/go/core:rules",
    out_label = "//docs/go/core:rules.md",
    rule_template = "rule_body.vm",
)

# Update MD in local source tree
update_docs(
    name = "update",
)