diff options
author | 2017-03-10 15:16:15 +0000 | |
---|---|---|
committer | 2017-03-10 17:40:40 +0000 | |
commit | b6d961f1cc89514f918843d8d41f3da2cfc27b4b (patch) | |
tree | cb53f093a387121423476fc4076895f074746e16 | |
parent | ab444923f3d2566a2be3860bd448f79af3c3fe43 (diff) |
Adding redirects for old pages that were served and indexed.
Fixes #2551
Closes #2565.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2565
PiperOrigin-RevId: 149755159
MOS_MIGRATED_REVID=149755159
-rw-r--r-- | site/_layouts/regular-redirect.html | 7 | ||||
-rw-r--r-- | site/docs/be/docker.md | 4 | ||||
-rw-r--r-- | site/docs/be/pkg.md | 4 | ||||
-rw-r--r-- | site/docs/cpp.md | 4 | ||||
-rw-r--r-- | site/docs/skyframe.md | 4 | ||||
-rw-r--r-- | site/docs/tutorial/index.md | 4 | ||||
-rw-r--r-- | site/users.md | 6 |
7 files changed, 33 insertions, 0 deletions
diff --git a/site/_layouts/regular-redirect.html b/site/_layouts/regular-redirect.html new file mode 100644 index 0000000000..2418143677 --- /dev/null +++ b/site/_layouts/regular-redirect.html @@ -0,0 +1,7 @@ +<html> + <head> + <script> + window.location.replace("{{ page.redirect }}" + window.location.hash); + </script> + </head> +</html>
\ No newline at end of file diff --git a/site/docs/be/docker.md b/site/docs/be/docker.md new file mode 100644 index 0000000000..9279688d74 --- /dev/null +++ b/site/docs/be/docker.md @@ -0,0 +1,4 @@ +--- +layout: redirect +redirect: docs/be/docker.html +---
\ No newline at end of file diff --git a/site/docs/be/pkg.md b/site/docs/be/pkg.md new file mode 100644 index 0000000000..b5cdea0d76 --- /dev/null +++ b/site/docs/be/pkg.md @@ -0,0 +1,4 @@ +--- +layout: redirect +redirect: docs/be/pkg.html +---
\ No newline at end of file diff --git a/site/docs/cpp.md b/site/docs/cpp.md new file mode 100644 index 0000000000..10cf714df9 --- /dev/null +++ b/site/docs/cpp.md @@ -0,0 +1,4 @@ +--- +layout: redirect +redirect: docs/tutorial/cpp.html +---
\ No newline at end of file diff --git a/site/docs/skyframe.md b/site/docs/skyframe.md new file mode 100644 index 0000000000..d0835fd632 --- /dev/null +++ b/site/docs/skyframe.md @@ -0,0 +1,4 @@ +--- +layout: regular-redirect +redirect: /designs/skyframe.html +---
\ No newline at end of file diff --git a/site/docs/tutorial/index.md b/site/docs/tutorial/index.md new file mode 100644 index 0000000000..3d2efada3e --- /dev/null +++ b/site/docs/tutorial/index.md @@ -0,0 +1,4 @@ +--- +layout: redirect +redirect: docs/tutorial/app.html +---
\ No newline at end of file diff --git a/site/users.md b/site/users.md new file mode 100644 index 0000000000..8c4593c7bb --- /dev/null +++ b/site/users.md @@ -0,0 +1,6 @@ +--- +layout: contribute +title: Bazel Users +--- + +Find a community curated a list of Bazel users in the [Bazel GitHub wiki](https://github.com/bazelbuild/bazel/wiki/Bazel-Users)
\ No newline at end of file |