forked from MapComplete/MapComplete
Chore: improve documentation and error messages
This commit is contained in:
parent
5095bffc50
commit
06a9fb3711
7 changed files with 26 additions and 19 deletions
|
|
@ -7,7 +7,7 @@ export default class OpeningHoursValidator extends Validator {
|
|||
"opening_hours",
|
||||
[
|
||||
"Has extra elements to easily input when a POI is opened.",
|
||||
"### Helper arguments",
|
||||
"#### Helper arguments",
|
||||
"Only one helper argument named `options` can be provided. It is a JSON-object of type `{ prefix: string, postfix: string }`:",
|
||||
MarkdownUtils.table(
|
||||
["subarg", "doc"],
|
||||
|
|
@ -22,7 +22,7 @@ export default class OpeningHoursValidator extends Validator {
|
|||
],
|
||||
]
|
||||
),
|
||||
"### Example usage",
|
||||
"#### Example usage",
|
||||
"To add a conditional (based on time) access restriction:\n\n```\n" +
|
||||
`
|
||||
"freeform": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue