Skip to content
Snippets Groups Projects
Unverified Commit e79b2044 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

DOC: Add type diagram to api.md

parent e2caed5e
No related branches found
No related tags found
No related merge requests found
Pipeline #23958 failed
[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
MRIBuilder = "691e6122-0b62-4932-92e7-e4ff0ddaf3a0"
......@@ -3,6 +3,19 @@ CollapsedDocStrings = true
```
# MRIBuilder.jl internal API
## Type diagram
```@eval
import MRIBuilder.Variables: AbstractBlock
import InteractiveUtils: subtypes
using AbstractTrees
import Markdown
AbstractTrees.children(x::Type) = subtypes(x)
io = IOBuffer()
print_tree(io, AbstractBlock)
seek(io, 0)
Markdown.parse("```\n" * read(io, String) * "```")
```
## Sequence components
```@autodocs
Modules = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment