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/android-instrumentation-test.md b/site/docs/android-instrumentation-test.md
index 8a2cf35..4a61791 100644
--- a/site/docs/android-instrumentation-test.md
+++ b/site/docs/android-instrumentation-test.md
@@ -6,12 +6,11 @@
 # Android Instrumentation Tests
 
 _If you're new to Bazel, please start with the [Building Android with
-Bazel](https://docs.bazel.build/versions/master/tutorial/android-app.html)
-tutorial._
+Bazel](tutorial/android-app.html) tutorial._
 
 ![Running Android instrumentation tests in parallel](/assets/android_test.gif)
 
-[`android_instrumentation_test`](https://docs.bazel.build/versions/master/be/android.html#android_instrumentation_test)
+[`android_instrumentation_test`](be/android.html#android_instrumentation_test)
 allows developers to test their apps on Android emulators and devices.
 It utilizes real Android framework APIs and the Android Test Library.
 
@@ -248,7 +247,7 @@
 # Maven dependencies
 
 Use the
-[maven_jar](https://docs.bazel.build/versions/master/be/workspace.html#maven_jar)
+[maven_jar](be/workspace.html#maven_jar)
 repository rule for Maven dependencies not hosted on Google Maven. For example,
 to use JUnit 4.12 and Hamcrest 2, add the following lines to your `WORKSPACE`:
 
@@ -675,6 +674,6 @@
 - Improved external dependency management
 - Remote test caching and execution
 
-We are planning to rewrite the Android rules in [Starlark](https://docs.bazel.build/versions/master/skylark/concepts.html).
+We are planning to rewrite the Android rules in [Starlark](skylark/concepts.html).
 The `android_instrumentation_test` rule will be part of the rewrite, however,
 its usage will remain unchanged from the end-user perspective.