Commit 5ede4256 authored by Jarrod's avatar Jarrod 💬

Add machine extendedDescription + md

parent 8f301cf6
......@@ -51,6 +51,7 @@ module.exports = function(pkg, pack, outDir, mpdocpkg) {
pkg,
pack,
mp,
md,
method: key,
machine: def,
mpdoc: mpdocpkg
......
......@@ -2,9 +2,14 @@ extends layout.pug
block body
include machine/usage
h2= '.' + method + '()'
h2= machine.friendlyName
h3.subtitle= '.' + method + '()'
p= machine.description
if machine.extendedDescription
!= md.render(machine.extendedDescription)
h2 Usage
+usage(name, method, machine)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment