Use Rollup to build JS for docs
This commit is contained in:
committed by
Justin Fagnani
parent
12d60c07dd
commit
fe5a424bee
@@ -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('<', '<') }</a>
|
||||
<a href="${post.url}">${ post.data.description.replace('<', '<') }</a>
|
||||
</li>
|
||||
`).join('')}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user