Draft: wip! tools: Add a url handler that generates html from documentation
Some systems don't install yelp by default but still want to show documentation.
This commit adds a small url handler to automatically convert documentation to html format and then launching a web browser to show it.
This is work in progress and not ready to go in as-is. A few things that need work:
- Currently it only supports untranslated documentation
- Firefox in a flatpak is untested
- It unconditionally generates the documentation every time. It should instead skip that step if the docs are already generated
- It's very poorly tested. It needs to be tested more and any issues fixed.