Documentation
¶
Overview ¶
Package modeldoc renders a workspace's document definitions, so the workspace model itself never links the document evaluator or the runtime it reads objects from.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DocumentFiles ¶
DocumentFiles plans the file each named document is written to when the documents are rendered as a set in the form of extension: its stem cut to fit, and tagged with a hash of the whole where two would meet letter case aside. Every renderer links documents to one another by this plan, so a document rendered on its own links to the files a set writes. Two documents of one name cannot be told apart.
func RenderDocumentMarkdown ¶
func RenderDocumentMarkdown(ws *model.Workspace, fqn string, opts docrender.MarkdownOptions) (string, error)
RenderDocumentMarkdown compiles the named document definition, evaluates its queries against the workspace model, and renders the result as Markdown, linking the other documents by the files a Markdown set writes them to.
Types ¶
This section is empty.