aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/skylark
diff options
context:
space:
mode:
authorGravatar Yilei Yang <yileiyang@google.com>2017-08-02 14:06:27 +0200
committerGravatar Dmitry Lomov <dslomov@google.com>2017-08-02 16:36:38 +0200
commit1e0a3bbb3b76eb923d24a520deeaf0583ad06856 (patch)
tree109fc3e6503d99a14924c8d0ede0c561ed6036a8 /site/docs/skylark
parent67c2ece9f1fc2608b707d52d53f07eb678da8ddb (diff)
Fix table of contents for the BUILD file style guide.
The "BUILD files" section in best-practices has been moved to skylark/build-style. Closes #3470. PiperOrigin-RevId: 163962064
Diffstat (limited to 'site/docs/skylark')
-rw-r--r--site/docs/skylark/build-style.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/site/docs/skylark/build-style.md b/site/docs/skylark/build-style.md
index 5ae7b561bf..a74a04522f 100644
--- a/site/docs/skylark/build-style.md
+++ b/site/docs/skylark/build-style.md
@@ -15,6 +15,18 @@ generate `BUILD` files.
`BUILD` file formatting must match the output of `buildifier`.
+## Contents
+
+- [Formatting example](#formatting-example)
+- [File structure](#file-structure)
+- [References to targets in the current package](#references-to-targets-in-the-current-package)
+- [Target naming](#target-naming)
+- [Visibility](#visibility)
+- [Dependencies](#dependencies)
+- [Globs](#globs)
+- [Other conventions](#other-conventions)
+- [Differences with Python style guide](#differences-with-python-style-guide)
+
## Formatting example
```python