Skip to content

Commit

Permalink
Fixed broken links to user manual in docs
Browse files Browse the repository at this point in the history
The user manual filename has been renamed from `bazel-user-manual.html` to `user-manual.html`.

Closes bazelbuild#4662.

PiperOrigin-RevId: 187877241
  • Loading branch information
jin authored and Copybara-Service committed Mar 5, 2018
1 parent 2afed51 commit 7633ab0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion site/_layouts/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ <h3>Extending Bazel</h3>
&& window.location.pathname.lastIndexOf('/skylark/lib/') == -1) {
var docFile = window.location.pathname.match(versionDocsURLRegex)[1];
// some pages are not using markdown :(
if (docFile !== 'bazel-user-manual.html'
if (docFile !== 'user-manual.html'
&& docFile !== 'build-ref.html'
&& docFile !== 'query.html'
&& docFile !== 'test-encyclopedia.html') {
Expand Down
6 changes: 3 additions & 3 deletions site/docs/bazel-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ When running a build or a test, Bazel does the following:

Since all previous build work is cached, Bazel can identify and reuse cached
artifacts and only rebuild or retest what's changed. To further enforce
correctness, you can set up Bazel to run builds and tests [hermetically](https://docs.bazel.build/versions/master/bazel-user-manual.html#sandboxing)
through sandboxing, minimizing skew and maximizing [reproducibility](https://docs.bazel.build/versions/master/bazel-user-manual.html#correctness).
correctness, you can set up Bazel to run builds and tests [hermetically](https://docs.bazel.build/versions/master/user-manual.html#sandboxing)
through sandboxing, minimizing skew and maximizing [reproducibility](https://docs.bazel.build/versions/master/user-manual.html#correctness).


## What is the action graph?

The action graph represents the build artifacts, the relationships between them,
and the build actions that Bazel will perform. Thanks to this graph, Bazel can
[track](https://docs.bazel.build/versions/master/bazel-user-manual.html#build-consistency-and-incremental-builds)
[track](https://docs.bazel.build/versions/master/user-manual.html#build-consistency-and-incremental-builds)
changes to file content as well as changes to actions, such as build or test
commands, and know what build work has previously been done. The graph also
enables you to easily [trace dependencies](https://docs.bazel.build/versions/master/query-how-to.html)
Expand Down
2 changes: 1 addition & 1 deletion site/docs/best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ misleading alias to point both targets to one guava library, then the BUILD file
## `.bazelrc`

For project-specific options, use the configuration file `_your-workspace_/tools/bazel.rc` (see
[bazelrc format](https://docs.bazel.build/bazel-user-manual.html#bazelrc)).
[bazelrc format](https://docs.bazel.build/user-manual.html#bazelrc)).

For options that you **do not** want to check into source control, create the configuration file
`_your-workspace_/.bazelrc` and add `.bazelrc` to your `.gitignore`. Note that this file has a
Expand Down
6 changes: 3 additions & 3 deletions site/docs/tutorial/android-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ Now, enter the following to build the sample app:
bazel build //android:android
```

The [`build`](../bazel-user-manual.html#build) subcommand instructs Bazel to
The [`build`](../user-manual.html#build) subcommand instructs Bazel to
build the target that follows. The target is specified as the name of a build
rule inside a `BUILD` file, with along with the package path relative to
your workspace directory. Note that you can sometimes omit the package path
Expand Down Expand Up @@ -367,7 +367,7 @@ how to build the backend server.

You can now deploy the app to a connected Android device or emulator from the
command line using the
[`bazel mobile-install`](../bazel-user-manual.html#mobile-install)
[`bazel mobile-install`](../user-manual.html#mobile-install)
command. This command uses the Android Debug Bridge (`adb`) to communicate with
the device. You must set up your device to use `adb` following the instructions
in
Expand All @@ -383,7 +383,7 @@ bazel mobile-install //android:android
```

Note that the `mobile-install` subcommand also supports the
[`--incremental`](../bazel-user-manual.html#mobile-install)
[`--incremental`](../user-manual.html#mobile-install)
flag that can be used to deploy only those parts of the app that have changed
since the last deployment.

Expand Down

0 comments on commit 7633ab0

Please sign in to comment.