aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main
diff options
context:
space:
mode:
authorGravatar David Chen <dzc@google.com>2016-05-09 08:46:21 +0000
committerGravatar Klaus Aehlig <aehlig@google.com>2016-05-09 10:52:12 +0000
commit3f6975140b1ddea4eb6b1ce0eae2b018a8c59e48 (patch)
tree236c6018362df60e393b1535cf1dbc496af16887 /src/main
parent72229431c24ad08f0546b03ede9737b633034e30 (diff)
Add generated docs to Jekyll tree build target. Add script for bringing up
local instance of bazel.io site. * Add a new genrule rule that runs the new jekyll-tree.sh to do the following: * Combine the generated docs for the Build Encyclopedia and Skylark Library with the static site docs * Combine the README.md files for the Docker and Packaging rules with the Jekyll tree * Process the generated docs, replaces instances of "blaze" with "bazel", etc. * Add scripts/serve-docs.sh script that can be used to bring up a local instance of the bazel.io website. As of this patch, it is possible to construct the full Bazel.io site tree from the master branch. -- MOS_MIGRATED_REVID=121813688
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/google/devtools/build/lib/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/BUILD b/src/main/java/com/google/devtools/build/lib/BUILD
index a2848fa67a..9e8dd05fc5 100644
--- a/src/main/java/com/google/devtools/build/lib/BUILD
+++ b/src/main/java/com/google/devtools/build/lib/BUILD
@@ -975,6 +975,7 @@ genrule(
"//src/main/java/com/google/devtools/build/docgen:docgen_bin",
"//src/main/java/com/google/devtools/build/docgen:docgen_javalib",
],
+ visibility = ["//site:__pkg__"],
)
# The skylark repository classes are passed as parameter of the Skylark documentation generator.
@@ -994,6 +995,7 @@ genrule(
" ".join(SKYLARK_REPOSITORY_CLASSES) +
" && zip -qj $@ $(@D)/skylark-lib/*",
tools = ["//src/main/java/com/google/devtools/build/docgen:skydoc_bin"],
+ visibility = ["//site:__pkg__"],
)
# Bootstrapping SingleJar using Skylark rules