From e73dc2870e188f6a006aea3f0798891c48fcebe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sat, 30 Jul 2022 19:34:29 +0200 Subject: [PATCH] Doc CategoryAsYAML: add links --- doc/CategoryAsYAML.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/CategoryAsYAML.md b/doc/CategoryAsYAML.md index 67ae2302..ac6046d9 100644 --- a/doc/CategoryAsYAML.md +++ b/doc/CategoryAsYAML.md @@ -1,6 +1,6 @@ Categories can be created as YAML files. This is much simpler as JSON files and allows adding comments. -A simple example: +A simple example ([Source](https://www.openstreetbrowser.org/dev/OpenStreetBrowser/examples/src/branch/master/example1.yaml)): ```yaml type: overpass @@ -9,7 +9,7 @@ query: 15: nwr[amenity=restaurant] ``` -Another example, showing fountains from z15 and (additionally) drinking_water from z17: +Another example, showing fountains from z15 and (additionally) drinking_water from z17 ([Source](https://www.openstreetbrowser.org/dev/OpenStreetBrowser/examples/src/branch/master/example2.yaml)): ```yaml type: overpass query: @@ -30,8 +30,8 @@ feature: {% endif %} ``` -Roads, with different color depending on its priority: -``` +Roads, with different color depending on its priority ([Source](https://www.openstreetbrowser.org/dev/OpenStreetBrowser/examples/src/branch/master/example3.yaml)): +```yaml type: overpass name: en: Roads # English name of the category