diff options
author | dzc <dzc@google.com> | 2017-06-07 21:51:52 -0400 |
---|---|---|
committer | John Cater <jcater@google.com> | 2017-06-08 10:52:56 -0400 |
commit | 5596d3bd9e938a3592c4e873763baec0953c9434 (patch) | |
tree | a30349414f1f1fea1e2a99f4f1aac5d103fc5827 /site/_config.yml | |
parent | 7dec00574aa91327693f6ba7e90bff5bc834253e (diff) |
Fix paths in Bazel docs, removing references to versions/master.
Follow-up to https://github.com/bazelbuild/bazel/commit/22b85a2a3c79c6f3aef1e0a61e485bb135be4551. This change updates paths and URLs to Bazel docs,
removing the versions/master directory and changing bazel.build/docs to
docs.bazel.build.
For clarification on the convention of the docs site, links referencing
docs.bazel.build/foo.html will be redirected to
docs.bazel.build/versions/master/foo.html. The versions/master directory will
contain the documentation pages pushed from HEAD. Once versioned documentation
is ready, then docs.bazel.build/foo.html will instead be redirected to
docs.bazel.build/x.y.z/foo.html, where x.y.z is the directory for the latest
stable Bazel version.
Follow-ups to this change:
* Add script that will be used by the daily push job that pushes the latest
documentation from HEAD to docs.bazel.build. This script will do the
following:
* Build the Jekyll tree, run jekyll build, and modify the resulting site
tree, moving the docs/ directory into versions/master.
* Add redirects for each of the site pages from the root of the site
to the corresponding page in versions/master.
* This should give us the minimum viable product for the new docs site.
* Add script for cutting a release of the docs and pushing to a new versioned
directory on the docs.bazel.build bucket.
RELNOTES: None
PiperOrigin-RevId: 158347197
Diffstat (limited to 'site/_config.yml')
-rw-r--r-- | site/_config.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/site/_config.yml b/site/_config.yml index 9d549e3cc7..44668c51ef 100644 --- a/site/_config.yml +++ b/site/_config.yml @@ -4,5 +4,9 @@ paginate: 10 highlighter: pygments sass: sass_dir: _sass -default_version: "master" gems: [jekyll-paginate] + +version: "master" + +main_site_url: https://www.bazel.build +blog_site_url: https://blog.bazel.build |