diff options
author | Yilei Yang <yileiyang@google.com> | 2017-08-02 14:06:27 +0200 |
---|---|---|
committer | Dmitry Lomov <dslomov@google.com> | 2017-08-02 16:36:38 +0200 |
commit | 1e0a3bbb3b76eb923d24a520deeaf0583ad06856 (patch) | |
tree | 109fc3e6503d99a14924c8d0ede0c561ed6036a8 /site | |
parent | 67c2ece9f1fc2608b707d52d53f07eb678da8ddb (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')
-rw-r--r-- | site/docs/best-practices.md | 7 | ||||
-rw-r--r-- | site/docs/skylark/build-style.md | 12 |
2 files changed, 12 insertions, 7 deletions
diff --git a/site/docs/best-practices.md b/site/docs/best-practices.md index 09daf780de..b69e665728 100644 --- a/site/docs/best-practices.md +++ b/site/docs/best-practices.md @@ -33,13 +33,6 @@ This document uses the requirement levels described in - [.bazelrc](#bazelrc) - [Packages](#packages) - [BUILD files](#build-files) - - [BUILD file style guide](#build-file-style-guide) - - [Formatting](#formatting) - - [References to targets in the current package](#references-to-targets-in-the-current-package) - - [Target naming](#target-naming) - - [Visibility](#visibility) - - [Dependencies](#dependencies) - - [Globs](#globs) - [.bzl files](#bzl-files) - [.bzl files style guide](#bzl-files-style-guide) - [Packaging rules](#packaging-rules) 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 |