diff options
author | laurentlb <laurentlb@google.com> | 2017-11-27 02:50:10 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-11-27 02:51:52 -0800 |
commit | f91ec333a32dce253a301a71c2bb0f189febc96d (patch) | |
tree | 9364e5a341c8a1ac9eb04336c85d8d05ffc74a6c /site | |
parent | ce31a743b7c1b0aa370067dc57b90217ea57831b (diff) |
Add Linter & Skylark spec to the website menu
RELNOTES: None.
PiperOrigin-RevId: 176993543
Diffstat (limited to 'site')
-rw-r--r-- | site/_layouts/documentation.html | 1 | ||||
-rw-r--r-- | site/docs/skylark/language.md | 5 | ||||
-rw-r--r-- | site/docs/skylark/spec.md | 7 |
3 files changed, 12 insertions, 1 deletions
diff --git a/site/_layouts/documentation.html b/site/_layouts/documentation.html index 402d71379f..3c0d5de36d 100644 --- a/site/_layouts/documentation.html +++ b/site/_layouts/documentation.html @@ -161,6 +161,7 @@ nav: docs </li> <li><a href="/versions/{{ site.version }}/skylark/deploying.html">Packaging rules</a></li> + <li><a href="/versions/{{ site.version }}/skylark/lib/skylint.html">Linter</a></li> <li><a href="https://skydoc.bazel.build" target="_blank">Documenting rules</a></li> <li><a href="/versions/{{ site.version }}/skylark/performance.html">Performance</a></li> <li><a href="/versions/{{ site.version }}/skylark/build-style.html">Style guide for BUILD files</a></li> diff --git a/site/docs/skylark/language.md b/site/docs/skylark/language.md index 1ea21707d9..2fda37220c 100644 --- a/site/docs/skylark/language.md +++ b/site/docs/skylark/language.md @@ -7,6 +7,11 @@ title: Extensions - Overview <!-- [TOC] --> +The page is an overview of Skylark, the language used in Bazel. This should be +enough to get you started, but you may be interested in a more complete +[specification of Skylark](spec.md). For a complete list of functions and +types, please check the [API reference](skylark-overview.html). + ## Syntax The extension language, Skylark, is a superset of the diff --git a/site/docs/skylark/spec.md b/site/docs/skylark/spec.md index 688be28a73..b5d1d71c8b 100644 --- a/site/docs/skylark/spec.md +++ b/site/docs/skylark/spec.md @@ -1,3 +1,8 @@ +--- +layout: documentation +title: Extensions - Language definition +--- + # Skylark: Language definition Skylark is a dialect of Python intended for use as a configuration @@ -19,7 +24,7 @@ The name "Skylark" is a code name of the Bazel project. We plan to rename the language before the end of 2017 to reflect its applicability to projects unrelated to Bazel. -[TOC] +<!-- [TOC] --> ## Overview |