[GRASS-git] [OSGeo/grass] 30aa63: build: Fix basic gallery build issues for Markdown...

Vaclav Petras noreply at github.com
Mon Mar 3 09:19:59 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 30aa63d63f4ac6d1003f208ff235fb4ad3cc6ad5
      https://github.com/OSGeo/grass/commit/30aa63d63f4ac6d1003f208ff235fb4ad3cc6ad5
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2025-03-03 (Mon, 03 Mar 2025)

  Changed paths:
    M man/build_manual_gallery.py

  Log Message:
  -----------
  build: Fix basic gallery build issues for Markdown (#5247)

This fixes build of header and footer by avoiding YAML syntax issue in title (colon) and writing of HTML footer. It also does multiline matching for the image capture which results in capturing (presumably) all images in the Markdown docs.

Less complete, but much faster expression. We are not capturing the alt, only testing the image presence, so we take the assumption that closing square bracket and image name in parentheses is a link. This avoids costly multiline matching with dot (from 1.5min back to original 30sec), while still capturing the multiline images (by ignoring their multiline alts).



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