github.com/bazelbuild/rules_go@v0.47.2-0.20240515105122-e7ddb9ea474e/docs/BUILD.bazel (about)

     1  load("//docs:doc_helpers.bzl", "stardoc_with_diff_test", "update_docs")
     2  
     3  # For each doc file, generate MD from bzl_library, then perform diff test
     4  stardoc_with_diff_test(
     5      bzl_library_target = "//docs/go/extras:extras",
     6      out_label = "//docs/go/extras:extras.md",
     7      rule_template = "rule_body.vm",
     8  )
     9  
    10  stardoc_with_diff_test(
    11      bzl_library_target = "//docs/go/core:rules",
    12      out_label = "//docs/go/core:rules.md",
    13      rule_template = "rule_body.vm",
    14  )
    15  
    16  # Update MD in local source tree
    17  update_docs(
    18      name = "update",
    19  )