8.15.0.12
17.18 Documentation Metadata
import: rhombus/doc | package: rhombus-lib |
The rhombus/doc module re-exports all of rhombus and adds DocSpec. The rhombus/doc module is intended in part as a submodule language for a splice that is generated by ~doc in forms such as fun or enum. The content of a DocSpec is intended for use by external tools such as Rhombus Scribble.
Each element of headers represents part of a declaration as
useful to show in documentation, such as the arguments and result of a
function, but not the function’s implementation. These syntax objects
are meant to have no bindings, but they have source location and layout
information to reconstruct the original text of the declaration.
The content list supplies a prose description the binding(s) in headers. The DocSpec form makes no requirement on the shape of each element in content, but the intent is that is suitable for use in a Rhombus Scribble document.