GNOME Bugzilla – Bug 744389
Convert man: URIs to an online version when building HTML
Last modified: 2018-05-22 12:45:19 UTC
If I have a <link href="man:poll(2)">blah</link> in a Mallard document, running yelp-build html my-document.page will produce a HTML page which links to ‘man:poll(2)’. I’m not entirely sure this is the best behaviour. If the user clicks on that link from their web browser, they probably be given the option to open the link in Yelp. Maybe it would be better to link to http://linux.die.net/man/ instead, or something like that? Then the HTML pages are usable on devices which don’t have Yelp installed, for example. I really don’t know what the best behaviour is. Let’s discuss it.
How complete is die.net's collection of man pages? We could definitely link off to an external site, but we should be careful which site we're endorsing. Could do the same for info as well.
(In reply to Shaun McCance from comment #1) > How complete is die.net's collection of man pages? We could definitely link > off to an external site, but we should be careful which site we're > endorsing. Could do the same for info as well. die.net was just a suggestion. Poking around a bit, it looks like man7.org might be a better bet, since it’s what the kernel homepage links to: http://man7.org/linux/man-pages/ https://www.kernel.org/doc/man-pages/ It’s up to date: http://man7.org/linux/man-pages/changelog.html The pages are pretty nicely formatted too: http://man7.org/linux/man-pages/man3/abort.3.html I don’t know about info pages, since I never use them.
-- 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/yelp-tools/issues/10.