Debian / debiman

debiman generates a static manpage HTML repository out of a Debian archive
Apache License 2.0
189 stars 46 forks source link

Support man.freebsd.org's syntax #24

Closed danielshahaf closed 7 years ago

danielshahaf commented 7 years ago

FreeBSD's corresponding service supports passing the section as:

http://man.freebsd.org/printf/3

Would you consider supporting the same URL structure? (If it's unambiguous...) The advantage over http://manpages.debian.org/printf%283%29 is that neither shell-quoting (for the ( )) nor percent-encoding are required, and over http://manpages.debian.org/printf.3 that (a) man pages with dots in their names would work unambiguously (think rsyncd.conf(5)), (b) same URL structure across platforms means fewer things to concern one's brain with.

Thanks for restoring the service!

stapelberg commented 7 years ago

Note that manpages with dots in them already work, the redirector is smart enough :).

I’ll take a look at whether we can also implement /<name>/<section> unambiguously.

danielshahaf commented 7 years ago

Thanks!