github.com/googleapis/api-linter@v1.65.2/docs/_includes/linter-aip-listing.md (about) 1 {% comment %} When this file is included, it _must_ be sent an `aip` value. 2 This determines which rules are rendered.{% endcomment -%} 3 4 Rules for [AIP-{{include.aip}}](), covering 5 {{ page.prose_title | default: page.title | downcase }}. 6 7 <!-- prettier-ignore --> 8 <div class="aip-rule-listing"> 9 {% assign rule_pages = site.pages | where_exp: "p", "p.rule != nil" | where_exp: "p", "p.rule.aip == include.aip" | sort: "rule.name" -%} 10 <table class="glue-table--datatable glue-table--stacked api-linter-rule-listing" style="width: 100%;"> 11 <tr> 12 <th>Rule name</th> 13 <th>Description</th> 14 </tr> 15 {% for p in rule_pages -%} 16 <tr> 17 <td style="vertical-align: top;"> 18 <a href="{{ site.url }}{{ p.url }}"> 19 <tt>{{ p.rule.name | last }}</tt> 20 </a> 21 </td> 22 <td>{{ p.rule.summary }}</td> 23 </tr> 24 {% endfor -%} 25 </table> 26 </div> 27 28 **Note:** Because AIPs sometimes cover topics that have some overlap, some 29 rules related to {{ page.prose_title | default: page.title | downcase }} may be 30 included in the rules for other AIPs. 31 32 [aip-{{include.aip}}]: https://aip.dev/{{ includes.aip }}