All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] docs: our man page generation uses http://man.he.net/ by default which causes broken links. It should be changed to point to a relative path
@ 2018-08-02 11:24 Lars Kurth
  2018-08-02 11:25 ` Lars Kurth
  2019-01-11 14:15 ` Lars Kurth
  0 siblings, 2 replies; 22+ messages in thread
From: Lars Kurth @ 2018-08-02 11:24 UTC (permalink / raw)
  To: xen-devel; +Cc: committers

Hi all,

most of our man pages on pretty much all releases from 4.2 contain broken links. 

For example:
In https://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html the source contains:

"For more details, see L<xl-numa-placement(7)>." 
Maps onto http://man.he.net/man7/xl-numa-placement  (does not exist)

“See L<http://man.he.net/man5/xl-disk-configuration> for more details.” 
Maps onto http://man.he.net/man5/xl-disk-configuration (does not exist)

Etc.

There seem to be two issues:
* The root path http://man.he.net, which is incorrect
* The resolution of filenames to man<x>/<name>: should be man/<name>.<x>.html

Probably we need to feed some arguments to probably we need to feed some arguments 
to pod2html in order to generate the correct urls. See  https://perldoc.perl.org/pod2html.html 
(maybe we need we need –htmldir). For our docs build, this should probably go to 
https://xenbits.xen.org/docs/unstable/man/ while for local installs to 
${prefix}/share/doc/xen/html/man or something like it.

I had a look to see whether I can fix this, but that seems a little too complex for me

Regards
Lars

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2019-01-16 16:07 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-02 11:24 [BUG] docs: our man page generation uses http://man.he.net/ by default which causes broken links. It should be changed to point to a relative path Lars Kurth
2018-08-02 11:25 ` Lars Kurth
2019-01-11 14:15 ` Lars Kurth
2019-01-15 15:47   ` Anthony PERARD
2019-01-15 15:48     ` [PATCH 1/2] man: Fix links in xl(1) Anthony PERARD
2019-01-15 15:54       ` Ian Jackson
2019-01-15 17:13         ` Juergen Gross
2019-01-15 15:48     ` [PATCH 2/2] docs: Fix links in html generation of man pages Anthony PERARD
2019-01-15 15:57       ` Ian Jackson
2019-01-15 16:17         ` Anthony PERARD
2019-01-15 17:07           ` Ian Jackson
2019-01-15 17:14             ` Juergen Gross
2019-01-15 17:33             ` Anthony PERARD
2019-01-15 17:44               ` Ian Jackson
2019-01-15 18:21               ` [PATCH 1/2] docs: Fix all links to Xen man pages in html Anthony PERARD
2019-01-15 18:30                 ` Andrew Cooper
2019-01-15 19:16                   ` Ian Jackson
2019-01-16 16:07                     ` Anthony PERARD
2019-01-15 19:15                 ` Ian Jackson
2019-01-15 18:21               ` [PATCH 2/2] man: Highlight reference in xl-disk-configuration(5) Anthony PERARD
2019-01-15 19:14                 ` Ian Jackson
2019-01-15 17:41             ` [PATCH 2/2] docs: Fix links in html generation of man pages Lars Kurth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.