blob: d58ffe3f9499851b116c4b4e33f19a82eb2ddddb [file] [log] [blame]
# The Bazel site
load("@rules_pkg//pkg:pkg.bzl", "pkg_tar")
licenses(["notice"])
exports_files(
[
"docs/user-manual.md",
"versions/_toc.yaml",
],
visibility = [
"//scripts/docs:__pkg__",
"//src/test/java/com/google/devtools/build/lib/packages:__pkg__",
],
)
filegroup(
name = "srcs",
srcs = glob(["**"]),
visibility = [
"//scripts/docs:__pkg__", # Scheuklappen: keep
"//site:__pkg__", # Scheuklappen: keep
],
)
# Snapshot of the full site, including stylesheets and images
pkg_tar(
name = "docs",
srcs = glob(
["**"],
exclude = ["**/BUILD"],
),
strip_prefix = "/site/en",
visibility = [
"//scripts/docs:__pkg__", # Scheuklappen: keep
],
)