GNOME Bugzilla – Bug 351734
Command line option to open a devhelp book
Last modified: 2021-05-17 15:49:28 UTC
Could be nice to be able to open a .devhelp2 directly (without having to deal with the paths devhelp knows, i.e. something like "devhelp foo.devhelp2".
Created attachment 74909 [details] [review] add --book support to devhelp (partial, doesn't work with a server beacon instance)
Since I required it, I tried to patch devhelp. There is some problem related to live modification of the list of books. For the moment, I think this is a good start. It works like this now with the following patch: ./devhelp -b ../../gstreamer/docs/gst/html/gstreamer.devhelp2 What do you think !? :) I find this useful, anyway, because I like to work with uninstalled CVS books.
Thanks, nice! Some comments: Please don't insert tabs in the middle of lines, only as indentation (not gchar <here> *foo). It might make sense to not support this option over the bacon connection since it doesn't work. What is the reason for the two add_book calls in main, first without a window and then with one? That should probably be handled differently. If you want to update the patch, that would be great :)
The "diff" view is not helpful in this case. The xml_DATA line is *really* below the @INTLTOOL_stuff@ after applyying the patch (or I am a fool) :)
ignore the previous message, it's a mistake!(In reply to comment #4) > The "diff" view is not helpful in this case. The xml_DATA line is *really* > below the @INTLTOOL_stuff@ after applyying the patch (or I am a fool) :) >
Up? I would like to have such feature.
This feature would be very useful, especially in cases where one wants to have a desktop file that links to a specific book.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/devhelp/-/issues/35.