diff options
author | W. Trevor King <wking@tremily.us> | 2018-05-15 09:26:38 -0700 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-05-17 18:22:10 +0000 |
commit | ea4156108d8108e80ed54d2fa17c21f1a5c47310 (patch) | |
tree | 34b94f7b309c870e3d4fda1a22ce73f7ad8a88a1 /docs | |
parent | 3b02a131cd354be3dee7b99c61885d929396f3dc (diff) | |
download | podman-ea4156108d8108e80ed54d2fa17c21f1a5c47310.tar.gz podman-ea4156108d8108e80ed54d2fa17c21f1a5c47310.tar.bz2 podman-ea4156108d8108e80ed54d2fa17c21f1a5c47310.zip |
hooks/docs: Add oci-hooks.5 and per-package man page building
This allows us to reference the hooks docs from podman(1) in a way
that will survive system installation. The downside is that the
GitHub rendered pages become less usable, now that we can no longer
embed links as freely as we could before.
I've followed the "Sections within a manual page" suggestions from
[1].
locale(7) is [2], which is Linux-specific. Even section numbering is
platform-dependent [3], so it's unlikely that these external man
references are particularly portable. Platform packagers can adjust
our local references to match their target system, but that leaves the
GitHub rendering in an awkward place. For now, I think a
Linux-centric GitHub rendering without clickable links may be the best
we can do without moving away from go-md2man.
As far as I can tell, there's not a nice way to get go-md2man to wrap
the links in SEE ALSO without sometimes hyphenating a URL (which makes
it harder for man-page readers to copy/paste those links into their
browser).
I've also fixed some "extention" -> "extension" typos.
[1]: http://man7.org/linux/man-pages/man7/man-pages.7.html
[2]: http://man7.org/linux/man-pages/man7/locale.7.html
[3]: https://en.wikipedia.org/wiki/Man_page#Manual_sections
Signed-off-by: W. Trevor King <wking@tremily.us>
Closes: #772
Approved by: mheon
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions