aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/build-ref.html
diff options
context:
space:
mode:
authorGravatar dzc <dzc@google.com>2017-06-26 11:01:47 +0200
committerGravatar Marcel Hlopko <hlopko@google.com>2017-06-26 18:41:14 +0200
commit205125bfceffd1920a80799e4097d6433687ca71 (patch)
tree94a255309a1feaed4b5495cc187036d3547b3be1 /site/docs/build-ref.html
parent01776ee8495043816e6224ebeff2756d34db41cb (diff)
Use relative paths in links in docs.
This change fixes links among Bazel docs to use relative paths links instead of absolute path (either full URL or absolute from site root). This way, versioned documentation will link to other pages within the same versioned directory rather than to the site root, which will point to the latest version of the page from HEAD. Future improvements may include adding a lint tool to check links in documentation to ensure that the correct convention is followed such that all links to pages within a version of the docs will point to pages within the same version. RELNOTES: None PiperOrigin-RevId: 160117865
Diffstat (limited to 'site/docs/build-ref.html')
-rw-r--r--site/docs/build-ref.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/docs/build-ref.html b/site/docs/build-ref.html
index 7b4fa8ea7f..0b4805b575 100644
--- a/site/docs/build-ref.html
+++ b/site/docs/build-ref.html
@@ -55,9 +55,9 @@ title: Concepts and Terminology
source files for the software you want to build, as well as symbolic links
to directories that contain the build outputs. Each workspace directory has
a text file named <code>WORKSPACE</code> which may be empty, or may contain
- references to <a href="/docs/external.html">external dependencies</a>
+ references to <a href="external.html">external dependencies</a>
required to build the outputs. See also the <a
- href="/docs/be/workspace.html">Workspace Rules</a> section in the Build
+ href="be/workspace.html">Workspace Rules</a> section in the Build
Encyclopedia.
</p>
<h3 id="packages">Packages</h3>