Show synonyms in API reference
This commit is contained in:
parent
bbc292561f
commit
6ba2b767b0
1 changed files with 5 additions and 0 deletions
|
|
@ -37,6 +37,11 @@ export function Reference() {
|
||||||
{visibleFunctions.map((entry, i) => (
|
{visibleFunctions.map((entry, i) => (
|
||||||
<section key={i}>
|
<section key={i}>
|
||||||
<h3 id={`doc-${i}`}>{entry.name}</h3>
|
<h3 id={`doc-${i}`}>{entry.name}</h3>
|
||||||
|
{!!entry.synonyms_text && (
|
||||||
|
<p>
|
||||||
|
Synonyms: <code>{entry.synonyms_text}</code>
|
||||||
|
</p>
|
||||||
|
)}
|
||||||
{/* <small>{entry.meta.filename}</small> */}
|
{/* <small>{entry.meta.filename}</small> */}
|
||||||
<p dangerouslySetInnerHTML={{ __html: entry.description }}></p>
|
<p dangerouslySetInnerHTML={{ __html: entry.description }}></p>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue