Skip to content

Commit 06ba1aa

Browse files
Add table of contents
1 parent 7b64e38 commit 06ba1aa

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ print a
6868

6969
## Primitives
7070

71+
[`array:from-list`](#arrayfrom-list)
72+
[`array:item`](#arrayitem)
73+
[`array:set`](#arrayset)
74+
[`array:length`](#arraylength)
75+
[`array:to-list`](#arrayto-list)
76+
7177

7278
### `array:from-list`
7379

documentation.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ markdownTemplate = """
88

99
## Primitives
1010

11+
{{#contents}}{{#prims}}
12+
[`{{name}}`](#{{primitive.extensionName}}{{primitive.name}})
13+
{{/prims}}{{/contents}}
14+
1115
{{#allPrimitives}}
1216
{{{.}}}
1317
{{/allPrimitives}}

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.5")
7+
addSbtPlugin("org.nlogo" % "netlogo-extension-documentation" % "0.5.2")

0 commit comments

Comments
 (0)