Migrate all absolute links (/versions/master/...) in site/docs to use relative links to be compatible with versioned docs

For files in..

* `site/docs`: `s;https://docs.bazel.build/versions/master/;;g`
* `site/docs/skylark`, `site/docs/tutorial`: `s;https://docs.bazel.build/versions/master/;../;g`

Closes #6935.

Change-Id: I177c0c1d780dd6d4bc8f40c58506fc3251abe1e3
PiperOrigin-RevId: 225622408
diff --git a/site/docs/build-javascript.md b/site/docs/build-javascript.md
index e32338a..556833a 100644
--- a/site/docs/build-javascript.md
+++ b/site/docs/build-javascript.md
@@ -36,8 +36,8 @@
 to illustrate the recommended configuration. You can use the sample project as a
 starting point and add your own code to it to start building with Bazel.
 
-If you're new to Bazel, take a look at the ["Getting Started"](https://docs.bazel.build/versions/master/getting-started.html)
-material before proceeding.
+If you're new to Bazel, take a look at the ["Getting
+Started"](getting-started.html) material before proceeding.
 
 ## Setting up your environment
 
@@ -46,7 +46,7 @@
 
 ### Step 1: Installing Bazel
 
-If you have not already done so, [Install Bazel](https://docs.bazel.build/versions/master/install.html).
+If you have not already done so, [Install Bazel](install.html).
 
 ### Step 2: Installing iBazel