From 39bb7ffbf11b25358630193310956a78b6f02ba7 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Fri, 23 Oct 2020 15:04:51 +0200 Subject: [PATCH 1/2] enabled syntax highlighting --- docs/config.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/config.rst b/docs/config.rst index 3bc1a5a..45a8899 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -4,7 +4,9 @@ Configuration file The configuration file defines the behavior of the application. It's a regular JSON file. -Example:: +Example: + +.. code-block:: json { "options": { From 6ae4116ccbcf4a5d2ae6d20aad860f712b631f47 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Fri, 23 Oct 2020 15:05:36 +0200 Subject: [PATCH 2/2] fixed small errors --- docs/config.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config.rst b/docs/config.rst index 45a8899..397725a 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -103,7 +103,7 @@ Default is ``2048``. -------------- Additional image side length added during tile rendering that is cropped from the delivered tile. This is useful for resolving the issue with cropped labels, -but it does come with a performance degradation, because additional, adjacent vector tiles need to be loaded to genenrate a single tile. +but it does come with a performance degradation, because additional, adjacent vector tiles need to be loaded to generate a single tile. Default is ``0`` to disable this processing. ``minRendererPoolSizes`` @@ -148,7 +148,7 @@ Each item in this object defines one style (map). It can have the following opti * ``style`` -- name of the style json file [required] * ``serve_rendered`` -- whether to render the raster tiles for this style or not -* ``serve_data`` -- whether to allow acces to the original tiles, sprites and required glyphs +* ``serve_data`` -- whether to allow access to the original tiles, sprites and required glyphs * ``tilejson`` -- properties to add to the TileJSON created for the raster data * ``format`` and ``bounds`` can be especially useful