Skip to content

Commit

Permalink
build(docs-infra): do not render internals in package API pages (angu…
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin authored and FrederikSchlemmer committed Jan 3, 2019
1 parent 77f0850 commit 78358e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aio/tools/transforms/templates/api/package.template.html
@@ -1,11 +1,12 @@
{% extends 'base.template.html' -%}

{% macro listItems(items, title, overridePath) %}
{% if items.length %}
{% set filteredItems = items | filterByPropertyValue('internal', undefined) %}
{% if filteredItems.length %}
<section class="export-list">
<h3>{$ title $}</h3>
<table class="is-full-width list-table">
{% for item in items %}
{% for item in filteredItems %}
<tr>
<td><code class="code-anchor">
<a href="{$ overridePath or item.path $}">{$ item.name $}</a></code></td>
Expand Down

0 comments on commit 78358e4

Please sign in to comment.