From 9511c4b120d5f570c70fe8d138702e120f5e166e Mon Sep 17 00:00:00 2001 From: Omar Ibrahim Date: Fri, 23 Oct 2026 09:27:55 -0500 Subject: [PATCH 01/14] fix(docs): remove extra indentation in the can-move? equivalence example --- apps/docs/autogen/data/dictionary.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/autogen/data/dictionary.yaml b/apps/docs/autogen/data/dictionary.yaml index 2a0ed4d5..ecaa6b1f 100644 --- a/apps/docs/autogen/data/dictionary.yaml +++ b/apps/docs/autogen/data/dictionary.yaml @@ -826,7 +826,7 @@ entries: It is equivalent to: ``` - patch-ahead distance != nobody + patch-ahead distance != nobody ``` examples: From f53baa15dbebe851bced1e4604a7de1931bdabdc Mon Sep 17 00:00:00 2001 From: Omar Ibrahim Date: Fri, 23 Oct 2026 09:31:10 -0500 Subject: [PATCH 02/14] fix(docs): separate built-in variables and keywords with dots in the dictionary --- apps/docs/autogen/dictionary.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/docs/autogen/dictionary.md b/apps/docs/autogen/dictionary.md index d173a0b1..a6a3e0c4 100644 --- a/apps/docs/autogen/dictionary.md +++ b/apps/docs/autogen/dictionary.md @@ -35,6 +35,7 @@ actually run a primitive, consult its dictionary entry. {{#each entries}} [[{{{name}}}|{{{id}}}]] +{{#unless @last}} · {{/unless}} {{/each}} {{/each}} @@ -44,6 +45,7 @@ actually run a primitive, consult its dictionary entry. ## Keywords {{#each keywords.entries}} [[{{{name}}}|{{{id}}}]] +{{#unless @last}} · {{/unless}} {{/each}} ## Constants From 016ec75eda2b943a10c7b4c7616c106d5293cb4a Mon Sep 17 00:00:00 2001 From: Omar Ibrahim Date: Fri, 23 Oct 2026 09:39:19 -0500 Subject: [PATCH 03/14] fix(docs): point the extension full reference link at the primitives on the same page --- packages/netlogo-docs/src/extension-docs/fixtures.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/netlogo-docs/src/extension-docs/fixtures.ts b/packages/netlogo-docs/src/extension-docs/fixtures.ts index 6b9c8aa7..1afea661 100644 --- a/packages/netlogo-docs/src/extension-docs/fixtures.ts +++ b/packages/netlogo-docs/src/extension-docs/fixtures.ts @@ -29,7 +29,7 @@ const markdownTemplate = ` {{{prePrimitiveSections}}} ## Primitives -Looking for the primitive reference for the {{extensionName}} extension? You can find [the full reference here](/{{primRoot}}/dictionary). +Looking for the primitive reference for the {{extensionName}} extension? You can find [the full reference here](#all-primitives). {{^emptyTableOfContents}}{{#contents}} From 88fe81cab1031dfc79a4d30e5c765aa7669ef4ae Mon Sep 17 00:00:00 2001 From: Omar Ibrahim Date: Fri, 23 Oct 2026 09:43:01 -0500 Subject: [PATCH 04/14] docs(docs): name the base colors in text so search can find them --- apps/docs/autogen/data/dictionary.yaml | 6 +++++- apps/docs/autogen/programming.md | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/docs/autogen/data/dictionary.yaml b/apps/docs/autogen/data/dictionary.yaml index ecaa6b1f..eb9850fc 100644 --- a/apps/docs/autogen/data/dictionary.yaml +++ b/apps/docs/autogen/data/dictionary.yaml @@ -573,7 +573,11 @@ entries: - name: base-colors since: "4.0" description: |+ - Reports a list of the 14 basic NetLogo hues. + Reports a list of the 14 basic NetLogo hues. In order, these are + the values of the color names gray, red, orange, brown, yellow, green, + lime, turquoise, cyan, sky, blue, violet, magenta, and pink. The other + two color names, black and white, are not included. See + [[Color Constants|colorconstants]]. ``` print base-colors diff --git a/apps/docs/autogen/programming.md b/apps/docs/autogen/programming.md index 3b82e71a..c1c2df22 100644 --- a/apps/docs/autogen/programming.md +++ b/apps/docs/autogen/programming.md @@ -2765,7 +2765,9 @@ of such NetLogo colors. ![[programming/colors.webp]] The chart shows that: -- Some of the colors have names. (You can use these names in your code.) +- Some of the colors have names: black, gray, white, red, orange, brown, yellow, + green, lime, turquoise, cyan, sky, blue, violet, magenta, and pink. (You can + use these names in your code.) - Every named color except black and white has a number ending in 5. - On either side of each named color are darker and lighter shades of the color. - 0 is pure black. 9.9 is pure white. From 5323933311c1a02b2f18d909eead134b3d97a642 Mon Sep 17 00:00:00 2001 From: Omar Ibrahim Date: Fri, 23 Oct 2026 09:45:01 -0500 Subject: [PATCH 05/14] docs(docs): explain that concise syntax works with variadic reporters like list --- apps/docs/autogen/programming.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/apps/docs/autogen/programming.md b/apps/docs/autogen/programming.md index c1c2df22..b38354ec 100644 --- a/apps/docs/autogen/programming.md +++ b/apps/docs/autogen/programming.md @@ -1300,6 +1300,17 @@ can be written with an especially concise syntax. You can write: foreach [1 2 3 4] print ;; prints 1 through 4 +This works with any primitive or reporter procedure that can take as many inputs +as the anonymous procedure would be given, either because that is its default +number of inputs or because it is variadic. For example, [[list]] takes two +inputs by default, but it is variadic, so `map list` makes a list out of each +item, or out of each group of items when there are several lists: + + map list [1 2 3] + ;; => [[1] [2] [3]] + (map list [1 2 3] [4 5 6] [7 8 9]) + ;; => [[1 4 7] [2 5 8] [3 6 9]] + In older NetLogo versions (4 and earlier), these had to be written: map [abs ?] [1 -2 3 -4] From b2d4a0ed20c1e2c9a80e873d2e3cd90a8c50220f Mon Sep 17 00:00:00 2001 From: Omar Ibrahim Date: Fri, 23 Oct 2026 09:46:34 -0500 Subject: [PATCH 06/14] fix(docs): list every name of a built-in variable, including pycor --- apps/docs/autogen/dictionary.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/docs/autogen/dictionary.md b/apps/docs/autogen/dictionary.md index a6a3e0c4..8a44ac9e 100644 --- a/apps/docs/autogen/dictionary.md +++ b/apps/docs/autogen/dictionary.md @@ -35,6 +35,9 @@ actually run a primitive, consult its dictionary entry. {{#each entries}} [[{{{name}}}|{{{id}}}]] +{{#each additional_names}} + · [[{{{.}}}|{{{../id}}}]] +{{/each}} {{#unless @last}} · {{/unless}} {{/each}} From 5188c6481d21ddba9915f5525b7b93abc244b5f3 Mon Sep 17 00:00:00 2001 From: Omar Ibrahim Date: Fri, 23 Oct 2026 09:46:34 -0500 Subject: [PATCH 07/14] fix(docs): show the real result of the nested list modes example --- apps/docs/autogen/data/dictionary.yaml | 2 +- packages/common-data/datasets/primitives.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/docs/autogen/data/dictionary.yaml b/apps/docs/autogen/data/dictionary.yaml index eb9850fc..2fe38460 100644 --- a/apps/docs/autogen/data/dictionary.yaml +++ b/apps/docs/autogen/data/dictionary.yaml @@ -5099,7 +5099,7 @@ entries: show modes [1 2 2 3 3 4] => [2 3] show modes [ [1 2 [3]] [1 2 [3]] [2 3 4] ] - => __WIKILINK_0__] + => [[1 2 [3]]] show modes [pxcor] of turtles ;; shows which columns of patches have the most ;; turtles on them diff --git a/packages/common-data/datasets/primitives.yaml b/packages/common-data/datasets/primitives.yaml index d2317862..a96b0362 100644 --- a/packages/common-data/datasets/primitives.yaml +++ b/packages/common-data/datasets/primitives.yaml @@ -15178,7 +15178,7 @@ primitives: show modes [1 2 2 3 3 4] => [2 3] show modes [ [1 2 [3]] [1 2 [3]] [2 3 4] ] - => __WIKILINK_0__] + => [[1 2 [3]]] show modes [pxcor] of turtles ;; shows which columns of patches have the most ;; turtles on them @@ -15212,7 +15212,7 @@ primitives: show modes [1 2 2 3 3 4] => [2 3] show modes [ [1 2 [3]] [1 2 [3]] [2 3 4] ] - => __WIKILINK_0__] + => [[1 2 [3]]] show modes [pxcor] of turtles ;; shows which columns of patches have the most ;; turtles on them From 66302f058d853a29731cea8bab759f8f62eeaf2c Mon Sep 17 00:00:00 2001 From: Omar Ibrahim Date: Fri, 23 Oct 2026 10:00:14 -0500 Subject: [PATCH 08/14] fix(docs): restore the nested list sentence example lost in conversion --- apps/docs/autogen/data/dictionary.yaml | 2 +- packages/common-data/datasets/primitives.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/docs/autogen/data/dictionary.yaml b/apps/docs/autogen/data/dictionary.yaml index 2fe38460..14b180e6 100644 --- a/apps/docs/autogen/data/dictionary.yaml +++ b/apps/docs/autogen/data/dictionary.yaml @@ -7575,7 +7575,7 @@ entries: => [1 2 3] show sentence [1 2] [3 4] => [1 2 3 4] - show sentence __WIKILINK_0__ __WIKILINK_1__ + show sentence [[1 2]] [[3 4]] => [[1 2] [3 4]] show (sentence [1 2] 3 [4 5] (3 + 3) 7) => [1 2 3 4 5 6 7] diff --git a/packages/common-data/datasets/primitives.yaml b/packages/common-data/datasets/primitives.yaml index a96b0362..37e545be 100644 --- a/packages/common-data/datasets/primitives.yaml +++ b/packages/common-data/datasets/primitives.yaml @@ -21642,7 +21642,7 @@ primitives: => [1 2 3] show sentence [1 2] [3 4] => [1 2 3 4] - show sentence __WIKILINK_0__ __WIKILINK_1__ + show sentence [[1 2]] [[3 4]] => [[1 2] [3 4]] show (sentence [1 2] 3 [4 5] (3 + 3) 7) => [1 2 3 4 5 6 7] @@ -21675,7 +21675,7 @@ primitives: => [1 2 3] show sentence [1 2] [3 4] => [1 2 3 4] - show sentence __WIKILINK_0__ __WIKILINK_1__ + show sentence [[1 2]] [[3 4]] => [[1 2] [3 4]] show (sentence [1 2] 3 [4 5] (3 + 3) 7) => [1 2 3 4 5 6 7] @@ -21705,7 +21705,7 @@ primitives: => [1 2 3] show sentence [1 2] [3 4] => [1 2 3 4] - show sentence __WIKILINK_0__ __WIKILINK_1__ + show sentence [[1 2]] [[3 4]] => [[1 2] [3 4]] show (sentence [1 2] 3 [4 5] (3 + 3) 7) => [1 2 3 4 5 6 7] From 7805b1d8c23a9dd212ba270b6b8baa464c1876df Mon Sep 17 00:00:00 2001 From: Omar Ibrahim Date: Fri, 23 Oct 2026 10:07:13 -0500 Subject: [PATCH 09/14] fix(docs): keep the extension catalog link and call it a catalog --- apps/docs/scripts/generate-manual/index.cjs | 6 +++--- packages/netlogo-docs/src/extension-docs/fixtures.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/docs/scripts/generate-manual/index.cjs b/apps/docs/scripts/generate-manual/index.cjs index be90366b..9d4c5eee 100644 --- a/apps/docs/scripts/generate-manual/index.cjs +++ b/apps/docs/scripts/generate-manual/index.cjs @@ -221,10 +221,10 @@ async function main() { // If it's an absolute link, we leave it as is return match; }); - // Remove the "Looking for the primitive reference..." paragraph - // It links to pages not in the manual. + // Remove the "Open the catalog here..." paragraph + // It links to the extension catalog, which is not in the manual. fileContent = fileContent.replace( - /

Looking for the primitive reference for the [^\s]+ extension\? You can find the full reference here<\/a>\.<\/p>/g, + /

(?:)*]*>(?:)*Open the catalog here(?:)*<\/a> to search for primitives\.(?:)*<\/p>/g, '', ); if (index === 0) { diff --git a/packages/netlogo-docs/src/extension-docs/fixtures.ts b/packages/netlogo-docs/src/extension-docs/fixtures.ts index 1afea661..bc4b12c5 100644 --- a/packages/netlogo-docs/src/extension-docs/fixtures.ts +++ b/packages/netlogo-docs/src/extension-docs/fixtures.ts @@ -29,7 +29,7 @@ const markdownTemplate = ` {{{prePrimitiveSections}}} ## Primitives -Looking for the primitive reference for the {{extensionName}} extension? You can find [the full reference here](#all-primitives). +[Open the catalog here](/{{primRoot}}/dictionary) to search for primitives. {{^emptyTableOfContents}}{{#contents}} From 581847b45344af17edd54b83bd92e417e8d132a7 Mon Sep 17 00:00:00 2001 From: Omar Ibrahim Date: Mon, 26 Oct 2026 12:31:35 -0500 Subject: [PATCH 10/14] fix(docs): repair dictionary examples that lost characters in conversion --- apps/docs/autogen/data/dictionary.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/apps/docs/autogen/data/dictionary.yaml b/apps/docs/autogen/data/dictionary.yaml index 14b180e6..2409a78e 100644 --- a/apps/docs/autogen/data/dictionary.yaml +++ b/apps/docs/autogen/data/dictionary.yaml @@ -1168,8 +1168,8 @@ entries: examples: - code: create-ordered-turtles *number* - code: create-ordered-turtles *number* [ *commands* ] - - code: create-ordered *number* - - code: create-ordered *number* [ *commands* ] + - code: create-ordered- *number* + - code: create-ordered- *number* [ *commands* ] - id: create-link entry_categories: - title: Link-related @@ -3337,8 +3337,7 @@ entries: See also: [[hubnet-clear-overrides|hubnet-clear-override]] examples: - - code: hubnet-send-override *client-name agent-or-set variable-name* - - code: "[ *reporter* ]" + - code: hubnet-send-override *client-name agent-or-set variable-name* [ *reporter* ] - id: hubnet-send-watch entry_categories: - title: HubNet @@ -9788,7 +9787,8 @@ entries: ; contains all the turtles who are not frogs ask turtles who-are-not frogs [ forward 1 - ]``` + ] + ``` Another example: @@ -9799,7 +9799,8 @@ entries: if count targets > 0 [ create-link-with one-of targets ] - ]``` + ] + ``` examples: - code: "*agentset* who-are-not *agentset*" @@ -9987,9 +9988,9 @@ entries: => "turtle" word "a" 6 => "a6" - set directory "c:\foo\fish\" + set directory "c:\\foo\\fish\\" show word directory "bar.txt" - => "c:foofishbar.txt" + => "c:\\foo\\fish\\bar.txt" show word [1 54 8] "fishy" => "[1 54 8]fishy" show (word 3) From 1de1766a96cc771d611534c4d81a55ed199d6096 Mon Sep 17 00:00:00 2001 From: Omar Ibrahim Date: Mon, 26 Oct 2026 12:31:45 -0500 Subject: [PATCH 11/14] fix(docs): add the missing space after italic words in dictionary entries --- apps/docs/autogen/data/dictionary-3D.yaml | 4 +-- apps/docs/autogen/data/dictionary.yaml | 32 +++++++++++------------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/apps/docs/autogen/data/dictionary-3D.yaml b/apps/docs/autogen/data/dictionary-3D.yaml index c5f95980..ab6598e6 100644 --- a/apps/docs/autogen/data/dictionary-3D.yaml +++ b/apps/docs/autogen/data/dictionary-3D.yaml @@ -330,7 +330,7 @@ entries: description: |+ 3D version of [[patch|patch]]. - Given three integers, reports the single patch with the given pxcor, pycor and pzcor. *pxcor*, *pycor* and *pzcor*must be integers. + Given three integers, reports the single patch with the given pxcor, pycor and pzcor. *pxcor*, *pycor* and *pzcor* must be integers. ``` ask (patch 3 -4 2) [ set pcolor green ] @@ -612,7 +612,7 @@ entries: - name: roll-right since: "4.1" description: |+ - The wingtip of the turtle rotates to the right *number*degrees with respect to the current heading and pitch. + The wingtip of the turtle rotates to the right *number* degrees with respect to the current heading and pitch. examples: - code: roll-right *number* diff --git a/apps/docs/autogen/data/dictionary.yaml b/apps/docs/autogen/data/dictionary.yaml index 2409a78e..affb25f9 100644 --- a/apps/docs/autogen/data/dictionary.yaml +++ b/apps/docs/autogen/data/dictionary.yaml @@ -547,7 +547,7 @@ entries: - name: bk since: "1.0" description: |+ - The turtle moves backward by *number* steps. (If *number*is negative, the turtle moves forward.) + The turtle moves backward by *number* steps. (If *number* is negative, the turtle moves forward.) Turtles using this primitive can move a maximum of one unit per time increment. So `bk 0.5` and `bk 1` both take one @@ -848,7 +848,7 @@ entries: since: "2.1" description: |+ Runs *commands1*. If a runtime error occurs inside *commands1*, NetLogo won't stop and alert the user that an - error occurred. It will suppress the error and run *commands2*instead. + error occurred. It will suppress the error and run *commands2* instead. The error-message reporter can be used in *commands2* to find out what error was suppressed in *commands1*. See [[error-message|error-message]]. @@ -1201,7 +1201,7 @@ entries: caller to *agent*. `create-link-from` creates a directed link from *agent* to the caller. - When the plural form of the breed name is used, an *agentset*is expected instead of an agent and links are created between the + When the plural form of the breed name is used, an *agentset* is expected instead of an agent and links are created between the caller and all agents in the agentset. The optional command block is the set of commands each newly formed @@ -2469,7 +2469,7 @@ entries: since: "2.0" description: |+ This command will output *value*, which can be a number, - string, list, boolean, or nobody to an opened file, *not*followed by a carriage return (unlike [[file-print|file-print]] and [[file-show|file-show]]). + string, list, boolean, or nobody to an opened file, *not* followed by a carriage return (unlike [[file-print|file-print]] and [[file-show|file-show]]). This agent is *not* printed before the value, unlike [[file-show|file-show]]. Its output also includes quotes around strings and is prepended with a space. It will output the value in @@ -3397,7 +3397,7 @@ entries: description: |+ For the first *boolean* that reports true, runs the *commands* that follow. - If no *boolean* reports true, runs *elsecommands* or does nothing if *elsecommands* is not given. When using only one *boolean*you do not need to surround the entire *ifelse* primitive and its blocks in parentheses. + If no *boolean* reports true, runs *elsecommands* or does nothing if *elsecommands* is not given. When using only one *boolean* you do not need to surround the entire *ifelse* primitive and its blocks in parentheses. If a *boolean* reports a value other than true or false a runtime error will occur. @@ -3454,7 +3454,7 @@ entries: - name: ifelse-value since: "2.0" description: |+ - For the first *boolean* that reports true, runs the *reporter* that follows and reports that result. When using only one *boolean*you do not need to surround the entire *ifelse-value* primitive and its blocks in parentheses. + For the first *boolean* that reports true, runs the *reporter* that follows and reports that result. When using only one *boolean* you do not need to surround the entire *ifelse-value* primitive and its blocks in parentheses. If all *boolean*s report false, the result is the value of *elsereporter*. You may leave out the *elsereporter*, but if all *boolean*s report false then a runtime error will occur. @@ -3698,7 +3698,7 @@ entries: - name: in-link-neighbor? since: "4.0" description: |+ - Reports true if there is a directed link going from *turtle*to the caller or an undirected link connecting *turtle* to the + Reports true if there is a directed link going from *turtle* to the caller or an undirected link connecting *turtle* to the caller. You can think of this as "is there a link I can use to get from *turtle* to the caller?" ``` @@ -3850,7 +3850,7 @@ entries: where the item will be inserted. The first item has an index of 0. (The 6th item in a list would have an index of 5.) - Likewise for a string, but all characters in a multiple-character *string2*are inserted at *index*. + Likewise for a string, but all characters in a multiple-character *string2* are inserted at *index*. ``` show insert-item 2 [2 7 4 5] 15 @@ -4218,7 +4218,7 @@ entries: Arranges the turtles in *turtle-set* connected by links in *link-set*, in a radial tree layout, centered around the *root-agent* which is moved to the center of the world view. Only links in the *link-set* will be used to determine the - layout. If links connect turtles that are not in *turtle-set*those turtles will remain stationary. + layout. If links connect turtles that are not in *turtle-set* those turtles will remain stationary. Even if the network does contain cycles, and is not a true tree structure, this layout will still work, although the results will @@ -4362,7 +4362,7 @@ entries: - name: lt since: "1.0" description: |+ - The turtle turns left by *number* degrees. (If *number*is negative, it turns right.) + The turtle turns left by *number* degrees. (If *number* is negative, it turns right.) examples: - code: left *number* @@ -5368,7 +5368,7 @@ entries: - name: n-of since: "3.1" description: |+ - From an agentset, reports an agentset of size *size*randomly chosen from the input set, with no repeats. + From an agentset, reports an agentset of size *size* randomly chosen from the input set, with no repeats. From a list, reports a list of size *size* randomly chosen from the input set, with no repeats. The items in the result @@ -7161,7 +7161,7 @@ entries: list would have an index of 5.) Note that "replace-item" is used in conjunction with "set" to change a list. - Likewise for a string, but the given character of *string1*removed and the contents of *string2* spliced in instead. + Likewise for a string, but the given character of *string1* removed and the contents of *string2* spliced in instead. If *index* is fractional, it will be rounded down to the nearest integer (4.5 becomes 4, 10.9 becomes 10). @@ -7371,7 +7371,7 @@ entries: - name: rt since: "1.0" description: |+ - The turtle turns right by *number* degrees. (If *number*is negative, it turns left.) + The turtle turns right by *number* degrees. (If *number* is negative, it turns left.) examples: - code: right *number* @@ -7484,7 +7484,7 @@ entries: Reports a shade of *color* proportional to the value of *number*. When *range1* is less than or equal to *range2*, then the larger the - number, the lighter the shade of *color*. However, if *range2*is less than *range1*, the color scaling is inverted. + number, the lighter the shade of *color*. However, if *range2* is less than *range1*, the color scaling is inverted. Let *min-range* be the minimum of *range1* and *range2*. If *number* is less than or equal to *min-range*, then the result is the same @@ -9304,7 +9304,7 @@ entries: - name: up-to-n-of since: "6.1" description: |+ - From an agentset, reports an agentset of size *size*randomly chosen from the input set, with no repeats. If the + From an agentset, reports an agentset of size *size* randomly chosen from the input set, with no repeats. If the input does not have enough agents to satisfy the *size*, reports the entire agentset. @@ -10063,7 +10063,7 @@ entries: since: "2.0" description: |+ This command will output *value*, which can be a number, - string, list, boolean, or nobody to the Command Center, *not*followed by a carriage return (unlike [[print|print]]and [[show|show]]). + string, list, boolean, or nobody to the Command Center, *not* followed by a carriage return (unlike [[print|print]]and [[show|show]]). This agent is *not* printed before the value, unlike [[show|show]]. Its output also includes quotes around strings and is prepended with a space. From e6c1ab9d9c6cd7ce67de3932cc702b9f9346a794 Mon Sep 17 00:00:00 2001 From: Omar Ibrahim Date: Mon, 26 Oct 2026 12:31:46 -0500 Subject: [PATCH 12/14] fix(docs): interpolate the version into dictionary entry descriptions --- apps/docs/autogen/partials/dictionary/entry.md | 2 +- apps/docs/lib/docs/runDocsAutogen.ts | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/docs/autogen/partials/dictionary/entry.md b/apps/docs/autogen/partials/dictionary/entry.md index 5ae7757f..d7f29fa6 100644 --- a/apps/docs/autogen/partials/dictionary/entry.md +++ b/apps/docs/autogen/partials/dictionary/entry.md @@ -29,7 +29,7 @@ {{/if}} -{{{data.description}}} +{{{interpolate data.description}}} {{/if}} diff --git a/apps/docs/lib/docs/runDocsAutogen.ts b/apps/docs/lib/docs/runDocsAutogen.ts index 79c78d16..6be13db3 100644 --- a/apps/docs/lib/docs/runDocsAutogen.ts +++ b/apps/docs/lib/docs/runDocsAutogen.ts @@ -24,6 +24,13 @@ export default async function runDocsAutogen() { handlebarsEngine.engine.registerHelper({ netlogoDictionary: prebuildHandlebarsHelper, + interpolate: (text: unknown, options: { data: { root: unknown } }) => { + const source = String(text ?? ""); + if (!source.includes("{{")) { + return source; + } + return handlebarsEngine.engine.compile(source, { noEscape: true })(options.data.root); + }, }); const buildVariables = { From 5976ab8f74318c120d10a3b9527bc50aa505dbf1 Mon Sep 17 00:00:00 2001 From: Omar Ibrahim Date: Mon, 26 Oct 2026 12:31:46 -0500 Subject: [PATCH 13/14] fix(docs): restore list structure and notice text in the copyright licenses --- apps/docs/autogen/copyright.md | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/apps/docs/autogen/copyright.md b/apps/docs/autogen/copyright.md index b65191b2..bd67ec34 100644 --- a/apps/docs/autogen/copyright.md +++ b/apps/docs/autogen/copyright.md @@ -94,7 +94,16 @@ The NetLogo compiler uses a digest method from the Apache Commons Codec (TM) lib NetLogo uses the Flexmark library (and extensions) for the info tab. The copyright and license are as follows:

-Copyright (c) 2015-2016, Atlassian Pty Ltd All rights reserved. Copyright (c) 2016, Vladimir Schneider, All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: \* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. \* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +Copyright (c) 2015-2016, Atlassian Pty Ltd All rights reserved. + +Copyright (c) 2016, Vladimir Schneider, All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
### JHotDraw @@ -117,7 +126,14 @@ THIS SOFTWARE IS PROVIDED BY JogAmp Community ``AS IS'' AND ANY EXPRESS OR IMPLI The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of JogAmp Community. -You can address the JogAmp Community via: Web [http://jogamp.org/](http://jogamp.org/) Forum/Mailinglist [http://forum.jogamp.org](http://forum.jogamp.org) Chatrooms IRC irc.freenode.net #jogamp Jabber conference.jabber.org room: jogamp (deprecated!) Repository [http://jogamp.org/git/](http://jogamp.org/git/) Email mediastream \_at\_ jogamp \_dot\_ org +You can address the JogAmp Community via: + +* Web [http://jogamp.org/](http://jogamp.org/) +* Forum/Mailinglist [http://forum.jogamp.org](http://forum.jogamp.org) +* Chatrooms IRC irc.freenode.net #jogamp +* Chatrooms Jabber conference.jabber.org room: jogamp (deprecated!) +* Repository [http://jogamp.org/git/](http://jogamp.org/git/) +* Email mediastream \_at\_ jogamp \_dot\_ org ### Matrix3D @@ -182,7 +198,13 @@ Copyright © 2013 Alexander Myltsev Licensed under the Apache License, Version 2 The NetLogo editor uses the RSyntaxTextArea library. The copyright and license are as follows:
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: \* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. \* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. \* Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ©RIGHT HOLDER& BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. +* Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
### JCodec From 01a3d1bceadcc610f1818808c14c44498721dff9 Mon Sep 17 00:00:00 2001 From: Omar Ibrahim Date: Mon, 26 Oct 2026 12:31:46 -0500 Subject: [PATCH 14/14] fix(docs): restore the Spanish BehaviorSpace formula and the preferences code span --- apps/docs/autogen/behaviorspace.es.md | 2 +- apps/docs/autogen/netlogopreferences.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/docs/autogen/behaviorspace.es.md b/apps/docs/autogen/behaviorspace.es.md index 6c8da7f1..e8717ffc 100644 --- a/apps/docs/autogen/behaviorspace.es.md +++ b/apps/docs/autogen/behaviorspace.es.md @@ -72,7 +72,7 @@ espacio de parámetros multidimensional- funciona mejor nuestro modelo? Por ejemplo, supongamos que desea lograrse una sincronización rápida entre los agentes en el modelo Fireflies. El modelo tiene cuatro deslizadores: number, cycle-length, flash-length and flashes-to-reset, con aproximadamente 2000, 100, 10 y 3 valores posibles, -respectivamente. Esto significa que, ¡hay 2000 _ 100 _ 10 \* 3 = +respectivamente. Esto significa que, ¡hay 2000 * 100 * 10 * 3 = 6,000,000 posibles combinaciones de valores de los deslizadores! Probar combinaciones una por una, no es una forma remotamente eficiente de descubrir cuál provocará la sincronización más rápida. diff --git a/apps/docs/autogen/netlogopreferences.md b/apps/docs/autogen/netlogopreferences.md index 80dee383..81831889 100644 --- a/apps/docs/autogen/netlogopreferences.md +++ b/apps/docs/autogen/netlogopreferences.md @@ -184,7 +184,7 @@ The places where the selected font will be used include: * Plot dialog editors * Output widget output * Info tab editor -* Info tab rendered content (e.g. the rendering of \`my favorite code\`) +* Info tab rendered content (e.g. the rendering of `my favorite code`) * All editors in agent inspection windows ## Logging Preferences