[GRASS-git] [OSGeo/grass] 7aec9f: g.extension: Install markdown documentation for ad...

Anna Petrasova noreply at github.com
Wed Jul 15 13:43:40 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 7aec9f206e28a71671277a4a6b8d8db23cac3ef3
      https://github.com/OSGeo/grass/commit/7aec9f206e28a71671277a4a6b8d8db23cac3ef3
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M cmake/modules/build_addon.cmake
    M include/Make/Module.make
    M include/Make/Script.make
    M scripts/g.extension/g.extension.py
    M scripts/g.extension/testsuite/test_addons_download.py
    M scripts/g.extension/testsuite/test_addons_modules.py

  Log Message:
  -----------
  g.extension: Install markdown documentation for addons (#7676)

Extend the addon install rules in Module.make and Script.make to
install the generated markdown page and its images into
docs/mkdocs/source in the addon prefix, next to the existing HTML and
man page. g.extension creates the directory on install and removes the
markdown page on uninstall.

Generate markdown and man pages also in the CMake addon build
(build_addon.cmake), which previously produced only HTML pages and no
man pages at all. This requires g.md2man in the installed GRASS
(shipped by the Autotools build since #7540 and by the CMake build
since #7674).

update_manual_page() intentionally remains HTML-only: it rewrites
relative links for the browser-based help, while the installed
markdown has no consumer that follows links (man pages drop link
targets, and the online addons manual build does its own linking).

Extend the g.extension tests to check the installed markdown files.

AI assistance (Claude Fable); verified with install and
remove round trips of a sample addon through both the make-based and
CMake-based paths.



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