diff options
author | dzc <dzc@google.com> | 2017-06-26 11:01:47 +0200 |
---|---|---|
committer | Marcel Hlopko <hlopko@google.com> | 2017-06-26 18:41:14 +0200 |
commit | 205125bfceffd1920a80799e4097d6433687ca71 (patch) | |
tree | 94a255309a1feaed4b5495cc187036d3547b3be1 /site/docs/external.md | |
parent | 01776ee8495043816e6224ebeff2756d34db41cb (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/external.md')
-rw-r--r-- | site/docs/external.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/docs/external.md b/site/docs/external.md index ed4b285ff6..5211eea7d1 100644 --- a/site/docs/external.md +++ b/site/docs/external.md @@ -6,10 +6,10 @@ title: External Dependencies # Working with external dependencies External dependencies can be specified in the `WORKSPACE` file of the -[workspace directory](/docs/build-ref.html#workspace). This `WORKSPACE` file +[workspace directory](build-ref.html#workspace). This `WORKSPACE` file uses the same syntax as BUILD files, but allows a different set of rules. The full list of rules are in the Build Encyclopedia's -[Workspace Rules](/docs/be/workspace.html). +[Workspace Rules](be/workspace.html). External dependencies are all downloaded and symlinked under a directory named `external`. You can see this directory by running: |