Skip to content

Commit

Permalink
Revert "Suggestions for syntax page"
Browse files Browse the repository at this point in the history
This reverts commit 597e06e.
  • Loading branch information
christopher-hakkaart committed Oct 9, 2024
1 parent 597e06e commit c9043f8
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions docs/reference/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,24 +73,13 @@ nextflow.preview.topic = true

An include declaration consists of an *include source* and one or more *include clauses*:

The include source should be a string literal and should refer to either a local path (e.g. `./module.nf`) or a plugin (e.g. `plugin/nf-hello`):

```groovy
include { foo } from './some/module'
```

Each include clause should specify a name, and may also specify an *alias*:

```groovy
include { bar as baz } from './some/module'
include { foo ; bar as baz } from './some/module'
```

Include clauses may include multiple names:
The include source should be a string literal and should refer to either a local path (e.g. `./module.nf`) or a plugin (e.g. `plugin/nf-hello`).

```groovy
// together
include { foo ; bar as baz } from './some/module'
```
Each include clause should specify a name, and may also specify an *alias*. In the example above, `bar` is included under the alias `baz`.

Include clauses can be separated by newlines or semi-colons, or they can be specified as separate includes:

Expand Down

0 comments on commit c9043f8

Please sign in to comment.