| {# |
| Copyright 2016 The Bazel Authors. All rights reserved. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| #} |
| <!--- |
| Documentation generated by Skydoc |
| --> |
| <h1>{{ ruleset.title }}</h1> |
| |
| % include "toc.jinja" |
| |
| % if ruleset.description: |
| <hr> |
| |
| <a name="overview"></a> |
| ## Overview |
| |
| {{ ruleset.description }} |
| {# I want a blank line here #} |
| % endif |
| |
| % for rule in ruleset.definitions: |
| <a name="{{ rule.name }}"></a> |
| ## {{ rule.name }} |
| |
| <pre> |
| {{ rule.signature }} |
| </pre> |
| |
| {{ rule.documentation }} |
| |
| % if rule.outputs[0] is defined: |
| {# I want a blank line here #} |
| <a name="{{ rule.name }}_outputs"></a> |
| ### Outputs |
| |
| % include "outputs.jinja" |
| % endif |
| |
| % if rule.attributes[0] is defined: |
| {# I want a blank line here #} |
| <a name="{{ rule.name }}_args"></a> |
| ### Attributes |
| |
| % include "attributes.jinja" |
| % endif |
| |
| % if rule.example_documentation |
| {# I want a blank line here #} |
| <a name="{{ rule.name }}_examples"></a> |
| ### Examples |
| |
| {{ rule.example_documentation }} |
| % endif |
| |
| % endfor |