mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 05:28:41 +00:00
Show synonyms in API reference
This commit is contained in:
parent
bbc292561f
commit
6ba2b767b0
@ -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…
x
Reference in New Issue
Block a user