From 5596d3bd9e938a3592c4e873763baec0953c9434 Mon Sep 17 00:00:00 2001 From: dzc Date: Wed, 7 Jun 2017 21:51:52 -0400 Subject: 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 --- site/_config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'site/_config.yml') 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 -- cgit v1.2.3