Fix bug in documentation generation

This commit is contained in:
Pieter Vander Vennet 2024-06-18 21:11:42 +02:00
parent ee9a504af6
commit 2ce9c67204
175 changed files with 14896 additions and 11522 deletions

View file

@ -25,51 +25,53 @@ A layer showing restaurants and fast-food amenities (with a special rendering fo
1. [ Themes using this layer ](#-themes-using-this-layer-)
2. [ Basic tags for this layer ](#-basic-tags-for-this-layer-)
3. [ Supported attributes ](#-supported-attributes-)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [just_created](#just_created)
- [nothing_known](#nothing_known)
- [images](#images)
- [reviews](#reviews)
- [Name](#name)
- [Fastfood vs restaurant](#fastfood-vs-restaurant)
- [opening_hours](#opening_hours)
- [website](#website)
- [email](#email)
- [phone](#phone)
- [payment-options](#payment-options)
- [repeated](#repeated)
- [single_level](#single_level)
- [wheelchair-access](#wheelchair-access)
- [Cuisine](#cuisine)
- [Reservation](#reservation)
- [Takeaway](#takeaway)
- [delivery](#delivery)
- [Vegetarian (no friture)](#vegetarian-(no-friture))
- [Vegan (no friture)](#vegan-(no-friture))
- [halal (no friture)](#halal-(no-friture))
- [sugar_free](#sugar_free)
- [gluten_free](#gluten_free)
- [lactose_free](#lactose_free)
- [organic (no friture)](#organic-(no-friture))
- [friture-vegetarian](#friture-vegetarian)
- [friture-vegan](#friture-vegan)
- [friture-organic](#friture-organic)
- [friture-oil](#friture-oil)
- [friture-take-your-container](#friture-take-your-container)
- [smoking](#smoking)
- [service:electricity](#serviceelectricity)
- [dog-access](#dog-access)
- [internet](#internet)
- [internet-fee](#internet-fee)
- [internet-ssid](#internet-ssid)
- [leftover-questions](#leftover-questions)
- [minimap](#minimap)
- [nearby_images](#nearby_images)
- [move-button](#move-button)
- [delete-button](#delete-button)
- [lod](#lod)
- [favourite_status](#favourite_status)
- [share](#share)
- [qr_code](#qr_code)
- [last_edit](#last_edit)
- [all-tags](#all-tags)
+ [Filters](#filters)
Themes using this layer
@ -144,16 +146,25 @@ attribute | type | values which are supported by this layer
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/internet_access:ssid#values) [internet_access:ssid](https://wiki.openstreetmap.org/wiki/Key:internet_access:ssid) | [string](../SpecialInputElements.md#string) | [Telekom](https://wiki.openstreetmap.org/wiki/Tag:internet_access:ssid%3DTelekom)
### this.id
### just_created
This element shows a 'thank you' that the contributor has recently created this element
_This tagrendering has no question and is thus read-only_
- *You just created this element! Thanks for sharing this info with the world and helping people worldwide.* corresponds with id~.+
This tagrendering is only visible in the popup if the following condition is met: _last_edit:passed_time<300 & (_version_number= | <a href='https://wiki.openstreetmap.org/wiki/Key:_version_number' target='_blank'>_version_number</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_version_number%3D1' target='_blank'>1</a>) & _backend~.+
This tagrendering has labels
`added_by_default`
`added_by_default_top`
### this.id
### nothing_known
_This tagrendering has no question and is thus read-only_
This tagrendering is only visible in the popup if the following condition is met: _last_edit:passed_time>=300 & _backend~.+
This tagrendering has labels
`added_by_default_top`
### images
This block shows the known images which are linked with the `image`-keys, but also via `mapillary` and `wikidata` and shows the button to upload new images
_This tagrendering has no question and is thus read-only_
@ -161,7 +172,7 @@ _This tagrendering has no question and is thus read-only_
### this.id
### reviews
Shows the reviews module (including the possibility to leave a review)
_This tagrendering has no question and is thus read-only_
@ -169,7 +180,7 @@ _This tagrendering has no question and is thus read-only_
### this.id
### Name
The question is `What is the name of this business?`
This rendering asks information about the property
@ -179,7 +190,7 @@ This is rendered with `The name of this business is {name}`
### this.id
### Fastfood vs restaurant
The question is `What type of business is this?`
@ -188,7 +199,7 @@ The question is `What type of business is this?`
### this.id
### opening_hours
The question is `What are the opening hours of {title()}?`
This rendering asks information about the property
@ -199,7 +210,7 @@ This is rendered with `<h3>Opening hours</h3>{opening_hours_table(opening_hours)
### this.id
### website
The question is `What is the website of {title()}?`
This rendering asks information about the property
@ -211,7 +222,7 @@ This is rendered with `<a href='{website}' rel='nofollow noopener noreferrer' ta
This tagrendering has labels
`contact`
### this.id
### email
The question is `What is the email address of {title()}?`
This rendering asks information about the property
@ -225,7 +236,7 @@ This is rendered with `<a href='mailto:{email}' target='_blank' rel='noopener'>{
This tagrendering has labels
`contact`
### this.id
### phone
The question is `What is the phone number of {title()}?`
This rendering asks information about the property
@ -237,7 +248,7 @@ This is rendered with `<a href='tel:{phone}'>{phone}</a>`
This tagrendering has labels
`contact`
### this.id
### payment-options
The question is `Which methods of payment are accepted here?`
@ -250,7 +261,7 @@ The question is `Which methods of payment are accepted here?`
### this.id
### repeated
_This tagrendering has no question and is thus read-only_
@ -259,7 +270,7 @@ This tagrendering is only visible in the popup if the following condition is met
This tagrendering has labels
`level`
### this.id
### single_level
The question is `On what level is this feature located?`
This rendering asks information about the property
@ -276,7 +287,7 @@ This is rendered with `Located on the {level}th floor`
This tagrendering has labels
`level`
### this.id
### wheelchair-access
The question is `Is this place accessible with a wheelchair?`
@ -287,7 +298,7 @@ The question is `Is this place accessible with a wheelchair?`
### this.id
### Cuisine
The question is `What kind of food is served here?`
This rendering asks information about the property
@ -311,7 +322,7 @@ This is rendered with `This place mostly serves {cuisine}`
### this.id
### Reservation
The question is `Is a reservation required for this place?`
@ -322,7 +333,7 @@ The question is `Is a reservation required for this place?`
### this.id
### Takeaway
The question is `Does this place offer take-away?`
@ -332,7 +343,7 @@ The question is `Does this place offer take-away?`
### this.id
### delivery
The question is `Does {title()} deliver food to your home?`
@ -341,7 +352,7 @@ The question is `Does {title()} deliver food to your home?`
### this.id
### Vegetarian (no friture)
The question is `Does this restaurant have a vegetarian option?`
@ -353,7 +364,7 @@ The question is `Does this restaurant have a vegetarian option?`
### this.id
### Vegan (no friture)
The question is `Does this business serve vegan meals?`
@ -365,7 +376,7 @@ The question is `Does this business serve vegan meals?`
### this.id
### halal (no friture)
The question is `Does this restaurant offer a halal menu?`
@ -376,7 +387,7 @@ The question is `Does this restaurant offer a halal menu?`
### this.id
### sugar_free
The question is `Does this shop have a sugar free offering?`
@ -388,7 +399,7 @@ The question is `Does this shop have a sugar free offering?`
This tagrendering has labels
`diets`
### this.id
### gluten_free
The question is `Does this shop have a gluten free offering?`
@ -400,7 +411,7 @@ The question is `Does this shop have a gluten free offering?`
This tagrendering has labels
`diets`
### this.id
### lactose_free
The question is `Does {title()} have a lactose-free offering?`
@ -412,7 +423,7 @@ The question is `Does {title()} have a lactose-free offering?`
This tagrendering has labels
`diets`
### this.id
### organic (no friture)
The question is `Does this restaurant offer organic food?`
@ -422,7 +433,7 @@ The question is `Does this restaurant offer organic food?`
### this.id
### friture-vegetarian
The question is `Does this fries shop have vegetarian snacks?`
@ -432,7 +443,7 @@ The question is `Does this fries shop have vegetarian snacks?`
This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:cuisine' target='_blank'>cuisine</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:cuisine%3Dfriture' target='_blank'>friture</a>
### this.id
### friture-vegan
The question is `Does this fries shop have vegan snacks?`
@ -442,7 +453,7 @@ The question is `Does this fries shop have vegan snacks?`
This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:cuisine' target='_blank'>cuisine</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:cuisine%3Dfriture' target='_blank'>friture</a>
### this.id
### friture-organic
The question is `Does this fries shop offer organic snacks?`
@ -452,7 +463,7 @@ The question is `Does this fries shop offer organic snacks?`
This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:cuisine' target='_blank'>cuisine</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:cuisine%3Dfriture' target='_blank'>friture</a>
### this.id
### friture-oil
The question is `Does this fries shop use vegetable or animal oil for cooking?`
@ -461,7 +472,7 @@ The question is `Does this fries shop use vegetable or animal oil for cooking?`
This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:cuisine' target='_blank'>cuisine</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:cuisine%3Dfriture' target='_blank'>friture</a>
### this.id
### friture-take-your-container
The question is `If you bring your own container (such as a cooking pot and small pots), is it used to package your order?`
@ -471,7 +482,7 @@ The question is `If you bring your own container (such as a cooking pot and smal
This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:cuisine' target='_blank'>cuisine</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:cuisine%3Dfriture' target='_blank'>friture</a>
### this.id
### smoking
The question is `Is smoking allowed at {title()}?`
@ -481,7 +492,7 @@ The question is `Is smoking allowed at {title()}?`
### this.id
### service:electricity
The question is `Does this amenity have electrical outlets, available to customers when they are inside?`
@ -492,7 +503,7 @@ The question is `Does this amenity have electrical outlets, available to custome
### this.id
### dog-access
The question is `Are dogs allowed in this business?`
@ -504,7 +515,7 @@ The question is `Are dogs allowed in this business?`
### this.id
### internet
The question is `Does this place offer internet access?`
@ -518,7 +529,7 @@ The question is `Does this place offer internet access?`
This tagrendering has labels
`internet-all`
### this.id
### internet-fee
The question is `Is there a fee for internet access?`
@ -529,7 +540,7 @@ This tagrendering is only visible in the popup if the following condition is met
This tagrendering has labels
`internet-all`
### this.id
### internet-ssid
The question is `What is the network name for the wireless internet access?`
This rendering asks information about the property
@ -540,7 +551,7 @@ This tagrendering is only visible in the popup if the following condition is met
This tagrendering has labels
`internet-all`
### this.id
### leftover-questions
_This tagrendering has no question and is thus read-only_
@ -548,7 +559,40 @@ _This tagrendering has no question and is thus read-only_
### this.id
### minimap
Shows a small map with the feature. Added by default to every popup
_This tagrendering has no question and is thus read-only_
### nearby_images
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default_conditional`
### move-button
_This tagrendering has no question and is thus read-only_
### delete-button
_This tagrendering has no question and is thus read-only_
### lod
_This tagrendering has no question and is thus read-only_
@ -557,31 +601,34 @@ _This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### this.id
Shows a small map with the feature. Added by default to every popup
_This tagrendering has no question and is thus read-only_
### this.id
### favourite_status
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### this.id
### share
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### qr_code
_This tagrendering has no question and is thus read-only_
### this.id
This tagrendering has labels
`added_by_default`
### last_edit
Gives some metainfo about the last edit and who did edit it - rendering only
_This tagrendering has no question and is thus read-only_
@ -590,33 +637,7 @@ This tagrendering is only visible in the popup if the following condition is met
This tagrendering has labels
`added_by_default`
### this.id
_This tagrendering has no question and is thus read-only_
### this.id
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### this.id
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### this.id
### all-tags
_This tagrendering has no question and is thus read-only_