Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/concepts/dependencies.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ b.foo();
<td>
```
import c;
function foo() {
function foo() \{
c.bar();
}
```
Expand Down Expand Up @@ -209,7 +209,7 @@ rule(
<td>
```
import d;
function foo() {
function foo() \{
d.baz();
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/concepts/labels.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ construct tools and scripts that manipulate labels, such as the

The precise details of allowed target names are below.

### Target names — `<var>package-name</var>:target-name` {#target-names}
### Target names — <var>package-name</var>:target-name

`target-name` is the name of the target within the package. The name of a rule
is the value of the `name` attribute in the rule's declaration in a `BUILD`
Expand Down Expand Up @@ -157,7 +157,7 @@ However, there are some situations where use of a slash is convenient, or
sometimes even necessary. For example, the name of certain rules must match
their principal source file, which may reside in a subdirectory of the package.

### Package names — `//package-name:<var>target-name</var>` {#package-names}
### Package names — //package-name:<var>target-name</var>

The name of a package is the name of the directory containing its `BUILD` file,
relative to the top-level directory of the containing repository.
Expand Down