build(docs-infra): display inherited members on directives (#25768)

PR Close #25768
This commit is contained in:
Pete Bacon Darwin
2018-09-20 12:57:34 +01:00
committed by Alex Rickabaugh
parent 9889276b15
commit ce06a75ebf
4 changed files with 30 additions and 16 deletions

View File

@ -168,11 +168,11 @@
{%- endmacro -%}
{%- macro renderProperties(properties, containerClass, propertyClass, headingText, headings) -%}
{%- macro renderProperties(properties, containerClass, propertyClass, headingText, headings, headingLevel = 2) -%}
{% set nonInternalProperties = properties | filterByPropertyValue('internal', undefined) %}
{% if nonInternalProperties.length -%}
<section class="{$ containerClass $}">
<h2>{$ headingText $}</h2>
<h{$ headingLevel $}>{$ headingText $}</h{$ headingLevel $}>
<table class="is-full-width list-table property-table">
<thead>
<tr>