From 1d8cd59173e9c1e2fd7fd03dd4b2a0ae8a35ef4b Mon Sep 17 00:00:00 2001 From: dzc Date: Fri, 23 Jun 2017 08:26:15 +0200 Subject: Rework jekyll-tree build to add redirects from site root. As described in the commit message for 5596d3b, the new docs.bazel.build site will have one directory per released version and a master directory for the latest documentation at HEAD. This change reworks the jekyll-tree script to construct a final Jekyll tree containing the documentation at HEAD with documentation under /versions/master and redirect pages at the site root for each documentation page. TESTED=scripts/serve-docs.sh RELNOTES: None PiperOrigin-RevId: 159920553 --- site/_layouts/redirect.html | 4 ++-- site/_layouts/regular-redirect.html | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 site/_layouts/regular-redirect.html (limited to 'site/_layouts') diff --git a/site/_layouts/redirect.html b/site/_layouts/redirect.html index d2fb13ac48..2418143677 100644 --- a/site/_layouts/redirect.html +++ b/site/_layouts/redirect.html @@ -1,7 +1,7 @@ - + \ No newline at end of file diff --git a/site/_layouts/regular-redirect.html b/site/_layouts/regular-redirect.html deleted file mode 100644 index 2418143677..0000000000 --- a/site/_layouts/regular-redirect.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file -- cgit v1.2.3