[:!let tmpls [dict create ::nx::doc::@class class.html.asciidoc ::nx::doc::@package package.html.asciidoc ::nx::doc::@object object.html.asciidoc ::nx::doc::@command command.html.asciidoc]]
[:for feature [dict keys $project_entities] { [:for inst [dict get $project_entities $feature] {

[$feature pretty_name] [$inst name]

[:? {[dict exists $tmpls [$inst info class]]} { [$inst render] }]
}] }] [:?var :@glossary {

Glossary

[:!let entries [sorted [:@glossary] name]] [:for entry $entries { [:!let ddesc [$entry as_text]] [:?objvar $entry @acronym { [:!let dtext [$entry @acronym]] [:? {$ddesc ne ""} { [:!let ddesc "[$entry @pretty_name] — $ddesc"] } - { [:!let ddesc "[$entry @pretty_name]"] }] } - { [:!let dtext [$entry @pretty_name]] }]
$dtext

$ddesc

[:?objvar $entry refs { [:? {[$entry eval [concat dict exists \${:refs} [current]]]} {

[:!let refs [sort_by_value [$entry eval [concat dict get \${:refs} [current]]]]] [:for src [dict keys $refs] { [$src make_link [current]]  ([dict get $refs $src]) }]

}] }]
}]
}]