Skip to content

Commit f00faa0

Browse files
Update extension documentation plugin
1 parent 2a5e4c5 commit f00faa0

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

USING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ errors or get surprising results, so we suggest sticking with lists
3636
and strings unless you're certain you want and need mutability.
3737

3838
### Example use of Array Extension
39-
39+
{{! prevent mustache escaping}}{{={| |}=}}
4040
```NetLogo
4141
let a array:from-list n-values 5 [0]
4242
print a

documentation.conf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ extensionName = "array"
22
markdownTemplate = """
33
# NetLogo Array Extension
44

5-
{{#include}}BUILDING.md{{/include}}
5+
{{> BUILDING.md}}
66

7-
{{#include}}USING.md{{/include}}
7+
{{> USING.md}}
88

99
## Primitives
1010

1111
{{#contents}}{{#prims}}
1212
[`{{name}}`](#{{primitive.extensionName}}{{primitive.name}})
1313
{{/prims}}{{/contents}}
1414

15-
{{#allPrimitives}}
16-
{{{.}}}
17-
{{/allPrimitives}}
15+
{{#primitives}}
16+
{{> primTemplate}}
17+
{{/primitives}}
1818

19-
{{#include}}LICENSE.md{{/include}}
19+
{{> LICENSE.md}}
2020
"""
2121
primTemplate = """
2222
### `{{name}}`

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ resolvers += Resolver.url(
44
Resolver.ivyStylePatterns)
55

66
addSbtPlugin("org.nlogo" % "netlogo-extension-plugin" % "3.0")
7-
addSbtPlugin("org.nlogo" % "netlogo-extension-documentation" % "0.6")
7+
addSbtPlugin("org.nlogo" % "netlogo-extension-documentation" % "0.7.0")

0 commit comments

Comments
 (0)