From 1b68a7b5dc72d58442c15ea6dcaf4a47e3d1d926 Mon Sep 17 00:00:00 2001 From: meyerlor Date: Thu, 8 May 2025 07:56:14 +0200 Subject: [PATCH 1/3] Fix minor typos, add missing folder --- source/install/py-qgis-server.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/install/py-qgis-server.rst b/source/install/py-qgis-server.rst index a6a9750..b339baf 100644 --- a/source/install/py-qgis-server.rst +++ b/source/install/py-qgis-server.rst @@ -7,7 +7,7 @@ Py-QGIS-Server Pre-requirements ================ -We supposed, you already have installed QGIS Server packages, as explain in the +We suppose that you already have installed QGIS Server packages, as explained in the `QGIS Server documentation `_. .. note:: @@ -41,12 +41,12 @@ Folders used below .. code-block:: bash - mkdir -p /srv/qgis/plugins /srv/qgis/config /var/log/qgis /var/lib/py-qgis-server /var/data + mkdir -p /srv/qgis/plugins /srv/qgis/config /srv/data /var/log/qgis /var/lib/py-qgis-server /var/data The file to watch for restarting workers ---------------------------------------- -We create an empty file that will be watch by Py-QGIS-Server to check when to restart QGIS Server map workers. +We create an empty file that will be watched by Py-QGIS-Server to check when to restart QGIS Server map workers. .. code-block:: bash @@ -66,7 +66,7 @@ We create the executable file :file:`/usr/bin/qgis-reload` to restart QGIS Serve touch /var/lib/py-qgis-server/py-qgis-restartmon -Then we when change its mod : +Then we change its mod : .. code-block:: bash @@ -115,7 +115,7 @@ We create the Py-QGIS-Server configuration file :file:`/srv/qgis/server.conf`. I In this example: * QGIS Server will be available at ``http://127.0.0.1:7200/ows/`` -* the plugins are installed in :file`/srv/qgis/plugins` (``pluginpath``). See :ref:`qgis-server-plugins`. +* the plugins are installed in :file:`/srv/qgis/plugins` (``pluginpath``). See :ref:`qgis-server-plugins`. * the file to watch for restarting workers is :file:`/var/lib/py-qgis-server/py-qgis-restartmon` (``restartmon``). * the directory containing the projects to be published :file:`/srv/data` (``rootdir``). The projects must be in sub-folders. * Lizmap QGIS Server API is enabled @@ -141,7 +141,7 @@ First of all, we create an environment file :file:`/srv/qgis/config/qgis-service In this file, we defined: -* The lang +* The language * The Xvfb display port, needed to print PDF * The QGIS options and ``authDB`` path (needed for HTTPS, when used in remote layers such as OSM tiles) * Lizmap environment variable to reveal settings @@ -181,7 +181,7 @@ Then we can create the QGIS `service systemd file Date: Mon, 12 May 2025 11:58:40 +0200 Subject: [PATCH 2/3] Remove occurences of /var/data --- source/install/py-qgis-server.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/install/py-qgis-server.rst b/source/install/py-qgis-server.rst index b339baf..ce0c644 100644 --- a/source/install/py-qgis-server.rst +++ b/source/install/py-qgis-server.rst @@ -41,7 +41,7 @@ Folders used below .. code-block:: bash - mkdir -p /srv/qgis/plugins /srv/qgis/config /srv/data /var/log/qgis /var/lib/py-qgis-server /var/data + mkdir -p /srv/qgis/plugins /srv/qgis/config /srv/data /var/log/qgis /var/lib/py-qgis-server The file to watch for restarting workers ---------------------------------------- @@ -214,6 +214,6 @@ Either by editing manually the file :file:`lizmap/var/config/lizmapConfig.ini.ph lizmapPluginAPIURL="http://127.0.0.1:7200/lizmap/" ; path to find repositories - rootRepositories="/var/data" + rootRepositories="/srv/data" Your :guilabel:`Server information` panel must show you the QGIS Server version and installed plugins. From 54eda2ec46a4ce63ffc074c83f10e81d2e8dbd03 Mon Sep 17 00:00:00 2001 From: David Marteau Date: Mon, 12 May 2025 11:04:43 +0200 Subject: [PATCH 3/3] Sphinx 8 support update --- requirements.txt | 6 ++--- source/_template/layout.html | 2 +- source/admin/cache.rst | 2 -- source/admin/cli.rst | 1 - source/conf.py | 25 ++++++++++++++++++- source/lizmap_cloud/index.rst | 2 -- source/publish/configuration/expression.rst | 1 - source/publish/configuration/legend.rst | 1 - source/publish/configuration/print.rst | 5 +--- .../publish/configuration/project_for_web.rst | 1 - .../publish/configuration/spatial_search.rst | 1 - .../layer_properties/attributes_form.rst | 1 - source/publish/layer_properties/display.rst | 2 -- .../publish/layer_properties/qgis_server.rst | 1 - source/publish/layer_properties/rendering.rst | 1 - source/publish/lizmap_plugin/actions.rst | 1 - source/publish/lizmap_plugin/atlas.rst | 1 - .../publish/lizmap_plugin/attribute_table.rst | 1 - source/publish/lizmap_plugin/dataviz.rst | 1 - source/publish/lizmap_plugin/editing.rst | 1 - .../lizmap_plugin/filtered_layers_login.rst | 1 - .../publish/lizmap_plugin/form_filtering.rst | 1 - source/publish/lizmap_plugin/information.rst | 1 - source/publish/lizmap_plugin/installation.rst | 3 +-- source/publish/lizmap_plugin/layers.rst | 1 - .../publish/lizmap_plugin/locate_by_layer.rst | 1 - source/publish/lizmap_plugin/map_options.rst | 1 - source/publish/lizmap_plugin/time_manager.rst | 1 - source/publish/lizmap_plugin/tooltip.rst | 1 - source/publish/quick_start/index.rst | 1 - source/substitutions.rst | 19 -------------- 31 files changed, 30 insertions(+), 58 deletions(-) delete mode 100644 source/substitutions.rst diff --git a/requirements.txt b/requirements.txt index 1c62a75..b657df8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # Version is fixed in the GitLab runner for building documentation -sphinx==5.3.0 +sphinx==8.2.3 sphinx-intl==2.3.1 -sphinx-rtd-theme +sphinx-rtd-theme==3.0.2 Jinja2==3.1.6 -markupsafe==2.1.5 \ No newline at end of file +markupsafe==3.0.2 diff --git a/source/_template/layout.html b/source/_template/layout.html index 5a7331d..a1711db 100644 --- a/source/_template/layout.html +++ b/source/_template/layout.html @@ -86,7 +86,7 @@