From 22b85a2a3c79c6f3aef1e0a61e485bb135be4551 Mon Sep 17 00:00:00 2001 From: dzc Date: Wed, 31 May 2017 20:37:50 +0200 Subject: Restructure site/ directory into docs/ which only contains Bazel documentation. The new docs/ directory in the bazel source tree will only contain the Bazel docs site, which is hosted at docs.bazel.build. This change deletes the marketing site and blog, which have been migrated to the bazel-website and bazel-blog GitHub repositories respectively. This change also updates the serve-docs.sh and ci/build.sh under scripts/ in preparation for publishing the docs site. Note that to help make reviews more manageable, this change is limited to moving files to their new locations. Here are the follow-up changes: * Update all links in docs to remove versions/master in paths and to add correct bazel.build subdomain when linking to pages on the marketing site or the blog. * Set up versioned directories on GCS bucket and add tooling for versioning docs This change is also coordinated with https://bazel-review.googlesource.com/c/11568/ to have the PublishSite job publish to docs.bazel.build rather than www.bazel.build. Issue #2397 RELNOTES: None PiperOrigin-RevId: 157612651 --- site/BUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'site/BUILD') diff --git a/site/BUILD b/site/BUILD index acada35d77..1672988fdb 100644 --- a/site/BUILD +++ b/site/BUILD @@ -2,15 +2,15 @@ load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar") exports_files( [ - "versions/master/docs/bazel-user-manual.html", + "docs/bazel-user-manual.html", "command-line-reference-prefix.html", "command-line-reference-suffix.html", ], ) DOT_GRAPH_HTML_FILES = [ - "versions/master/docs/query.html", - "versions/master/docs/build-ref.html", + "docs/query.html", + "docs/build-ref.html", ] filegroup( -- cgit v1.2.3