diff --git a/site/docs/bazel-and-java.md b/site/docs/bazel-and-java.md index d6160b84dbd2bc..eda5292c1da421 100644 --- a/site/docs/bazel-and-java.md +++ b/site/docs/bazel-and-java.md @@ -57,7 +57,7 @@ Follow these guidelines when creating your BUILD files: * Tests should be in a matching directory under `src/test` and depend on this library. -## Java and new rules +## Creating new rules for advanced Java builds **Note**: Creating new rules is for advanced build and test scenarios. You do not need it when getting started with Bazel. diff --git a/site/docs/bazel-and-javascript.md b/site/docs/bazel-and-javascript.md index 4baeca3fde490f..4f9e6a7d725a32 100644 --- a/site/docs/bazel-and-javascript.md +++ b/site/docs/bazel-and-javascript.md @@ -9,8 +9,6 @@ This page contains resources that help you use Bazel with JavaScript projects. It links to build rules and other information specific to building JavaScript with Bazel. -## Working with Bazel - The following resources will help you work with Bazel on JavaScript projects: * [Building JavaScript/TypeScript with Bazel](build-javascript.html) diff --git a/site/docs/bazel-container.md b/site/docs/bazel-container.md index 77f6723d6c0d43..e4fe88509ebcf4 100644 --- a/site/docs/bazel-container.md +++ b/site/docs/bazel-container.md @@ -1,9 +1,9 @@ --- layout: documentation -title: Bazel Container +title: Bazel container --- -# Getting started with Bazel Docker Container +# Getting Started with Bazel Docker Container In this guide, we will explore the contents of the Bazel container, build the [abseil-cpp](https://github.com/abseil/abseil-cpp) project using Bazel inside diff --git a/site/docs/bazel-overview.md b/site/docs/bazel-overview.md index ce4e156207606b..57360fc48be5c1 100644 --- a/site/docs/bazel-overview.md +++ b/site/docs/bazel-overview.md @@ -1,9 +1,9 @@ --- layout: documentation -title: Bazel overview +title: Bazel Overview --- -# Bazel overview +# Bazel Overview Bazel is an open-source build and test tool similar to Make, Maven, and Gradle. It uses a human-readable, high-level build language. Bazel supports projects in @@ -11,7 +11,7 @@ multiple languages and builds outputs for multiple platforms. Bazel supports large codebases across multiple repositories, and large numbers of users. -## Why should I use Bazel? +## Benefits Bazel offers the following advantages: @@ -41,7 +41,7 @@ Bazel offers the following advantages: framework. -## How do I use Bazel? +## Using Bazel To build or test a project with Bazel, you typically do the following: @@ -75,7 +75,7 @@ In addition to building, you can also use Bazel to run to trace dependencies in your code. -## How does Bazel work? +## Bazel build process When running a build or a test, Bazel does the following: @@ -96,7 +96,7 @@ correctness, you can set up Bazel to run builds and tests and maximizing [reproducibility](guide.html#correctness). -### What is the action graph? +### 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 @@ -106,7 +106,7 @@ know what build work has previously been done. The graph also enables you to easily [trace dependencies](query-how-to.html) in your code. -## How do I get started? +## Getting started tutorials To get started with Bazel, see [Getting Started](getting-started.html) or jump directly to the Bazel tutorials: diff --git a/site/docs/bazel-vision.md b/site/docs/bazel-vision.md index 7a3d4f71540a63..e658831fdb38ba 100644 --- a/site/docs/bazel-vision.md +++ b/site/docs/bazel-vision.md @@ -3,7 +3,7 @@ layout: documentation title: Bazel vision --- -# Bazel vision +# Bazel Vision
Any software developer can efficiently build, test, and package
any project, of any size or complexity, with tooling that's easy to adopt and
@@ -74,7 +74,7 @@ available that integrate with the workflows and conventions of that community.
Bazel is committed to be extensible and open, and to support good rulesets for
any language.
-### So what is a good ruleset?
+### Requirements of a good ruleset
1. The rules need to support efficient **building and testing** for the
language, including code coverage.
diff --git a/site/docs/best-practices.md b/site/docs/best-practices.md
index d3d233e37cd5f7..0f6198cceee6ba 100644
--- a/site/docs/best-practices.md
+++ b/site/docs/best-practices.md
@@ -3,7 +3,7 @@ layout: documentation
title: Best practices
---
-# Best practices for Bazel
+# Best Practices
This document assumes that you are familiar with Bazel and provides advice on structuring your
projects to take full advantage of Bazel's features.
@@ -32,9 +32,9 @@ should be tagged as specifically as possible (e.g., "`requires-osx`"). This tagg
targets to be filtered at a more fine-grained level than the "manual" tag and allows someone
inspecting the BUILD file to understand what a target's restrictions are.
-## Third party dependencies
+## Third-party dependencies
-You may declare third party dependencies:
+You may declare third-party dependencies:
* Either declare them as remote repositories in the WORKSPACE file.
* Or put them in a directory called `third_party/` under your workspace directory.
@@ -58,7 +58,7 @@ dependency issues: if one library depends on `guava-19.0` and one depends on `gu
could end up with a library that tries to depend on two different versions. If you created a
misleading alias to point both targets to one guava library, then the BUILD files are misleading.
-## `.bazelrc`
+## Using the `.bazelrc` file
For project-specific options, use the configuration file your
`