mdh34/quickDocs

Open quickDocs programmatically

notanimposter opened this issue · 0 comments

Describe the solution you'd like
It should be possible to raise quickDocs and jump to a specific page.

This could be implemented using the command line parameters. There could be an additional flag which would check for a running instance of quickDocs and forward the URL to that other instance rather than opening a new instance.

It might look like this:

com.github.mdh34.quickdocs "https://valadoc.org/?q=foo.bar"
com.github.mdh34.quickdocs --same-window "https://valadoc.org/glfw3/GLFW.Joystick.html"

Describe alternatives you've considered
This could probably also be implemented using D-Bus messages rather than through command line parameters.

Additional context
This feature would provide developers of editors and editor plugins a convenient way to display documentation. For example, a user might be able to right click on a class name and select "Open in quickDocs" right from their preferred editing environment.