Skip to content

Commit

Permalink
Fix lib-directory ref in updating-syntax docs
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Galens <kevin.galens@color.com>
  • Loading branch information
kgalens committed Feb 25, 2025
1 parent b019b0b commit 238e4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/updating-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,6 @@ There are two ways to preserve Groovy code:
- Move the code to the `lib` directory
- Create a plugin

Any Groovy code can be moved into the `lib` directory, which supports the full Groovy language. This approach is useful for temporarily preserving some Groovy code until it can be updated later and incorporated into a Nextflow script. See {ref}`<lib-directory>` documentation for more information.
Any Groovy code can be moved into the `lib` directory, which supports the full Groovy language. This approach is useful for temporarily preserving some Groovy code until it can be updated later and incorporated into a Nextflow script. See {ref}`lib-directory` documentation for more information.

For Groovy code that is complicated or if it depends on third-party libraries, it may be better to create a plugin. Plugins can define custom functions that can be included by Nextflow scripts like a module. Furthermore, plugins can be easily re-used across different pipelines. See {ref}`plugins-dev-page` for more information on how to develop plugins.

0 comments on commit 238e4fc

Please sign in to comment.