Use Rollup to build JS for docs

This commit is contained in:
Justin Fagnani
2019-12-20 10:23:35 -08:00
committed by Justin Fagnani
parent 12d60c07dd
commit fe5a424bee
14 changed files with 383 additions and 170 deletions

View File

@@ -21,7 +21,7 @@ const renderExample = ({name, content, collections, page}) => {
? ''
: collections.example.map((post) => `
<li class=${post.url === page.url ? 'selected' : ''}>
<a href="/docs${post.url}">${ post.data.description.replace('<', '&lt;') }</a>
<a href="${post.url}">${ post.data.description.replace('<', '&lt;') }</a>
</li>
`).join('')}
</ul>