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/tutorial/ios-app.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/tutorial/ios-app.md')
-rw-r--r-- | site/docs/tutorial/ios-app.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/docs/tutorial/ios-app.md b/site/docs/tutorial/ios-app.md index ce17c2b9c9..ff6a5b1964 100644 --- a/site/docs/tutorial/ios-app.md +++ b/site/docs/tutorial/ios-app.md @@ -65,7 +65,7 @@ load("@build_bazel_rules_apple//apple:ios.bzl", "ios_application") Bazel provides several build rules that you can use to build an app for the iOS platform. For this tutorial, you'll first use the -[`objc_library`](/docs/be/objective-c.html#objc_library) rule to tell Bazel +[`objc_library`](../be/objective-c.html#objc_library) rule to tell Bazel how to build a static library from the app source code and Xib files. Then you'll use the [`ios_application`](https://github.com/bazelbuild/rules_apple) rule to tell it how to build the application binary and the `.ipa` bundle. @@ -93,7 +93,7 @@ Note the name of the rule, `UrlGetClasses`. ## Add an ios_application rule -The [`ios_application`](/docs/be/objective-c.html#ios_application) rule builds +The [`ios_application`](../be/objective-c.html#ios_application) rule builds the application binary and creates the `.ipa` bundle file. Add the following to your `BUILD` file: |