There is a snapd interface for this (system-packages-doc¹), but it only grants read access to /usr/share/doc, not /usr/local/doc.
I wonder if the snapd folks would be interested in extending the interface to grant read access to /usr/local/doc, too?
¹ https://snapcraft.io/docs/the-system-package-doc-interface
There is a snapd interface for this (system- packages- doc¹), but it only grants read access to /usr/share/doc, not /usr/local/doc.
I wonder if the snapd folks would be interested in extending the interface to grant read access to /usr/local/doc, too?
¹ https:/ /snapcraft. io/docs/ the-system- package- doc-interface