aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/skylark
diff options
context:
space:
mode:
authorGravatar David Chen <dzc@google.com>2016-01-20 11:06:35 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2016-01-20 11:36:59 +0000
commitc4af8287cd92ba4fe30dddb6f6c3fc881fe470fa (patch)
treef67a7160cd76ff9f39ba02aeb2c198cd368b8a19 /site/docs/skylark
parentd22b02426bd251213e82c1afb5213174c804c719 (diff)
Add titles to Bazel documentation pages.
Fixes #790 -- MOS_MIGRATED_REVID=112563137
Diffstat (limited to 'site/docs/skylark')
-rw-r--r--site/docs/skylark/concepts.md4
-rw-r--r--site/docs/skylark/cookbook.md6
-rw-r--r--site/docs/skylark/index.md4
-rw-r--r--site/docs/skylark/macros.md4
-rw-r--r--site/docs/skylark/rules.md4
5 files changed, 21 insertions, 1 deletions
diff --git a/site/docs/skylark/concepts.md b/site/docs/skylark/concepts.md
index e8a6ab2b0c..76e1fe98f0 100644
--- a/site/docs/skylark/concepts.md
+++ b/site/docs/skylark/concepts.md
@@ -1,3 +1,7 @@
+---
+layout: documentation
+title: Skylark - Concepts
+---
# Concepts
## Loading a Skylark extension
diff --git a/site/docs/skylark/cookbook.md b/site/docs/skylark/cookbook.md
index c4f718faea..c479a103b7 100644
--- a/site/docs/skylark/cookbook.md
+++ b/site/docs/skylark/cookbook.md
@@ -1,3 +1,7 @@
+---
+layout: documentation
+title: Skylark Cookbook
+---
Skylark cookbook
================
@@ -90,7 +94,7 @@ def system_test_suite(name, flavors=["default"], test_files):
for flavor in flavors:
for test in test_files:
ts.append(system_test(name, flavor, test))
- native.test_suite(name = name, tests = ts)
+ native.test_suite(name = name, tests = ts)
```
In the following BUILD file, note how `(fast, basic_test.py)` is emitted for
diff --git a/site/docs/skylark/index.md b/site/docs/skylark/index.md
index 71a282accb..49164ff088 100644
--- a/site/docs/skylark/index.md
+++ b/site/docs/skylark/index.md
@@ -1,3 +1,7 @@
+---
+layout: documentation
+title: Custom Rules
+---
# Custom rules
Skylark is the code name of the extension mechanism for Bazel. It lets you write
diff --git a/site/docs/skylark/macros.md b/site/docs/skylark/macros.md
index f4f6129385..1ecf59eb4e 100644
--- a/site/docs/skylark/macros.md
+++ b/site/docs/skylark/macros.md
@@ -1,3 +1,7 @@
+---
+layout: documentation
+title: Macros
+---
# Macros
## Macro creation
diff --git a/site/docs/skylark/rules.md b/site/docs/skylark/rules.md
index 8004789c50..12d6f96f4a 100644
--- a/site/docs/skylark/rules.md
+++ b/site/docs/skylark/rules.md
@@ -1,3 +1,7 @@
+---
+layout: documentation
+title: Skylark Rules
+---
Rules
=====