build(docs-infra): do not render internals in package API pages (#25723)
Closes #24493 PR Close #25723
This commit is contained in:
parent
a417b2b419
commit
4a04ab8823
|
@ -1,11 +1,12 @@
|
||||||
{% extends 'base.template.html' -%}
|
{% extends 'base.template.html' -%}
|
||||||
|
|
||||||
{% macro listItems(items, title, overridePath) %}
|
{% macro listItems(items, title, overridePath) %}
|
||||||
{% if items.length %}
|
{% set filteredItems = items | filterByPropertyValue('internal', undefined) %}
|
||||||
|
{% if filteredItems.length %}
|
||||||
<section class="export-list">
|
<section class="export-list">
|
||||||
<h3>{$ title $}</h3>
|
<h3>{$ title $}</h3>
|
||||||
<table class="is-full-width list-table">
|
<table class="is-full-width list-table">
|
||||||
{% for item in items %}
|
{% for item in filteredItems %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><code class="code-anchor">
|
<td><code class="code-anchor">
|
||||||
<a href="{$ overridePath or item.path $}">{$ item.name $}</a></code></td>
|
<a href="{$ overridePath or item.path $}">{$ item.name $}</a></code></td>
|
||||||
|
|
Loading…
Reference in New Issue