We used Dokuwiki in a similar situation. It's been a few years since I last used it (new client uses confluence) but I remember it was super easy to connect external tools. If your script can output text, Dokuwiki can display it :)
https://www.dokuwiki.org/dokuwiki
EDIT: I decided to try dokuwiki in Podman, works nicely as long as you run:
podman unshare chown 1000:1000 /path/to/wiki/data
https://www.redhat.com/en/blog/debug-rootless-podman-mounted... replies(4):