diff options
author | dzc <dzc@google.com> | 2017-05-31 20:37:50 +0200 |
---|---|---|
committer | László Csomor <laszlocsomor@google.com> | 2017-06-01 14:07:52 +0200 |
commit | 22b85a2a3c79c6f3aef1e0a61e485bb135be4551 (patch) | |
tree | 8235e8237b171ced2fa9f39f054f9a7d808c0771 /scripts | |
parent | 40d64293b57f0d62bb15599c730f38484b91d3f0 (diff) |
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
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci/build.sh | 2 | ||||
-rwxr-xr-x | scripts/serve-docs.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh index 8a0fcea688..acbc701056 100755 --- a/scripts/ci/build.sh +++ b/scripts/ci/build.sh @@ -134,7 +134,7 @@ function bazel_build() { cp bazel-genfiles/bazel-distfile.zip $1/bazel-${release_label}-dist.zip fi fi - cp bazel-genfiles/site/jekyll-tree.tar $1/www.bazel.build.tar + cp bazel-genfiles/site/jekyll-tree.tar $1/docs.bazel.build.tar cp bazel-bin/src/tools/benchmark/webapp/site.tar $1/perf.bazel.build.tar.nobuild cp bazel-genfiles/scripts/packages/README.md $1/README.md fi diff --git a/scripts/serve-docs.sh b/scripts/serve-docs.sh index edbe41384d..8d06d65e96 100755 --- a/scripts/serve-docs.sh +++ b/scripts/serve-docs.sh @@ -59,7 +59,7 @@ build_static() { build_and_serve() { build_tree - echo "Serving bazel.build site at $HOST:$PORT" + echo "Serving docs.bazel.build site at $HOST:$PORT" jekyll serve --host "$HOST" --detach --quiet --port "$PORT" --source "$WORKING_DIR" } |