Show synonyms in API reference

This commit is contained in:
Alexandre G.-Raymond 2023-11-11 14:23:55 +01:00
parent bbc292561f
commit 6ba2b767b0
No known key found for this signature in database
GPG Key ID: 97BA9F51695B5C7B

View File

@ -37,6 +37,11 @@ export function Reference() {
{visibleFunctions.map((entry, i) => (
<section key={i}>
<h3 id={`doc-${i}`}>{entry.name}</h3>
{!!entry.synonyms_text && (
<p>
Synonyms: <code>{entry.synonyms_text}</code>
</p>
)}
{/* <small>{entry.meta.filename}</small> */}
<p dangerouslySetInnerHTML={{ __html: entry.description }}></p>
<ul>