Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,24 +188,24 @@ In that case, please open an issue about the particular documentation convention
}
```

- Use [definition lists](#definition-lists) to document function arguments, and the attributes of such arguments. For example:
- Use [definition lists](#definition-lists) to document function arguments, and the attributes of such arguments as well as their [types](https://nixos.org/manual/nix/stable/language/values).
For example:

```markdown
# pkgs.coolFunction

Description of what `coolFunction` does.
`coolFunction` expects a single argument which should be an attribute set, with the following possible attributes:

`name`
`name` (String)

: The name of the resulting image.

`tag` _optional_
`tag` (String; _optional_)

: Tag of the generated image.

_Default value:_ the output path's hash.

_Default:_ the output path's hash.
```

## Getting help
Expand Down