Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unit syntax in FAQ #330

Merged
merged 1 commit into from
Feb 20, 2024
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
20 changes: 11 additions & 9 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ It is possible to replace the default units by the `-u` parameter, see [vspec2x
The syntax of the file with units shall follow this pattern:

```
units:
puncheon:
label: Puncheon
description: Volume measure in puncheons (1 puncheon = 318 liters)
domain: volume
hogshead:
label: Hogshead
description: Volume measure in hogsheads (1 hogshead = 238 liters)
domain: volume
puncheon:
definition: Volume measure in puncheons (1 puncheon = 318 liters)
unit: Puncheon
quantity: volume
allowed_datatypes: ['uint16', 'int16']
hogshead:
definition: Volume measure in hogsheads (1 hogshead = 238 liters)
unit: Hogshead
quantity: volume
allowed_datatypes: ['numeric']
```

Loading