From 3f6975140b1ddea4eb6b1ce0eae2b018a8c59e48 Mon Sep 17 00:00:00 2001 From: David Chen Date: Mon, 9 May 2016 08:46:21 +0000 Subject: 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 --- src/main/java/com/google/devtools/build/lib/BUILD | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main') 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 -- cgit v1.2.3