[GRASS-git] [OSGeo/grass] 951be1: build: Avoid network access during doc generation ...
Vaclav Petras
noreply at github.com
Tue Apr 28 20:31:14 PDT 2026
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 951be1f7182aa0820e3f2fee6a9c33958a43c7f8
https://github.com/OSGeo/grass/commit/951be1f7182aa0820e3f2fee6a9c33958a43c7f8
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2026-04-28 (Tue, 28 Apr 2026)
Changed paths:
M utils/mkdocs.py
Log Message:
-----------
build: Avoid network access during doc generation for local builds (#7310)
Access to online sources for addon installation versus all-local installation was decided based on presence of gs (grass.script), but the import works in CMake which made the code believe it should use the sources. This was not a problem for Autotools where PYTHONPATH is not set. Setting PYTHONPATH or otherwise functional import makes sense, so a different check is needed. This is using SOURCE_URL to make the decision. SOURCE_URL is set (only) by g.extension, which is clearly the case where online access is allowed. For CMake and Autotools compilation of the main source code, SOURCE_URL is not set, so the remote check will skip the branches which access online content.
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list