diff --git a/examples/docusaurus/docusaurus-example/docs/rhai-autodocs/1-glossary.mdx b/examples/docusaurus/docusaurus-example/docs/rhai-autodocs/1-glossary.mdx index b3e482b..40192f1 100644 --- a/examples/docusaurus/docusaurus-example/docs/rhai-autodocs/1-glossary.mdx +++ b/examples/docusaurus/docusaurus-example/docs/rhai-autodocs/1-glossary.mdx @@ -6,6 +6,7 @@ slug: /api/glossary import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import Link from '@docusaurus/Link'; +import CodeBlock from '@theme/CodeBlock'; export const Highlight = ({ children, color }) => ( @@ -15,18 +16,30 @@ export const Highlight = ({ children, color }) => ( ## global -- type Tragedy -- get/set get Tragedy.age -> int -- get/set set Tragedy.age = int -- get/set get Tragedy.name -> string -- fn new_romeo() -> Tragedy -- fn new_juliet() -> Tragedy -- index get/set index get Tragedy[_: int] -> ? -- index get/set index set Tragedy[_: int] = ? +- type + Tragedy +- get/set + get Tragedy.age -> int +- get/set + set Tragedy.age = int +- get/set + get Tragedy.name -> string +- fn + new_romeo() -> Tragedy +- fn + new_juliet() -> Tragedy +- index get/set + index get Tragedy[_: int] -> ? +- index get/set + index set Tragedy[_: int] = ? ## my_module -- fn hello_world() -- fn hello_world(message: String) -- fn add(a: int, b: int) -> int -- type NewType +- fn + hello_world() +- fn + hello_world(message: String) +- fn + add(a: int, b: int) -> int +- type + NewType