After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 351734 - Command line option to open a devhelp book
Command line option to open a devhelp book
Status: RESOLVED OBSOLETE
Product: devhelp
Classification: Applications
Component: General
git master
Other Linux
: Normal enhancement
: ---
Assigned To: devhelp-maint
devhelp-maint
Depends on:
Blocks:
 
 
Reported: 2006-08-17 09:39 UTC by Richard Hult
Modified: 2021-05-17 15:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add --book support to devhelp (6.23 KB, patch)
2006-10-18 01:15 UTC, Marc-Andre Lureau
none Details | Review

Description Richard Hult 2006-08-17 09:39:39 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".
Comment 1 Marc-Andre Lureau 2006-10-18 01:15:22 UTC
Created attachment 74909 [details] [review]
add --book support to devhelp 

(partial, doesn't work with a server beacon instance)
Comment 2 Marc-Andre Lureau 2006-10-18 01:16:01 UTC
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.
Comment 3 Richard Hult 2006-10-18 08:20:54 UTC
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 :)
Comment 4 Marc-Andre Lureau 2006-10-20 13:31:20 UTC
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) :)

Comment 5 Marc-Andre Lureau 2006-10-20 13:32:21 UTC
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) :)
> 

Comment 6 Antono Vasiljev 2012-01-27 10:33:57 UTC
Up? I would like to have such feature.
Comment 7 Kat 2016-12-15 14:06:07 UTC
This feature would be very useful, especially in cases where one wants to have a desktop file that links to a specific book.
Comment 8 GNOME Infrastructure Team 2021-05-17 15:49:28 UTC
-- 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.