* Re: Handling of updates to kernel Documentation/ tree
[not found] ` <20150309150739.GA6131-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
@ 2015-03-09 16:03 ` Michael Kerrisk (man-pages)
[not found] ` <54FDC468.40503-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-03-09 16:16 ` Stephan Mueller
2015-03-09 17:40 ` Mike Frysinger
2 siblings, 1 reply; 10+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-03-09 16:03 UTC (permalink / raw)
To: Christoph Hellwig, Stephan Mueller
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, Michael Kerrisk,
linux-man-u79uwXL29TY76Z2rM5mHXA
On 03/09/2015 04:07 PM, Christoph Hellwig wrote:
> On Mon, Mar 09, 2015 at 03:17:58PM +0100, Stephan Mueller wrote:
>> Hi Michael,
>>
>> how shall an update to the Documentation/ tree be handled in man pages
>> that contain a pointer to these documents?
>>
>> Specifically, socket(2) contains a reference to
>> Documentation/crypto/crypto-API-userspace.txt. With the patch [1] the
>> document is gone and its contents is moved into a DocBook.
>>
>> Shall the kernel DocBook website [2] be referenced? If so, when is it
>> appropriate to add the patch (note, the change is expected to be
>> propagated to Linus' tree in 4.1-rc1).
>
> Referencing a kernel Documentation file from a man page sounds like
> a bad idea to me. Why can't we include a nroff-yfied version of the
> content in the man-pages repository?
Actually, a lot of man pages do refer to kernel Documentation files.
What's the problem?
Thanks,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Handling of updates to kernel Documentation/ tree
[not found] ` <20150309150739.GA6131-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2015-03-09 16:03 ` Michael Kerrisk (man-pages)
@ 2015-03-09 16:16 ` Stephan Mueller
2015-03-09 17:40 ` Mike Frysinger
2 siblings, 0 replies; 10+ messages in thread
From: Stephan Mueller @ 2015-03-09 16:16 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Michael Kerrisk, linux-man-u79uwXL29TY76Z2rM5mHXA
Am Montag, 9. März 2015, 08:07:39 schrieb Christoph Hellwig:
Hi Christoph,
>On Mon, Mar 09, 2015 at 03:17:58PM +0100, Stephan Mueller wrote:
>> Hi Michael,
>>
>> how shall an update to the Documentation/ tree be handled in man
>> pages
>> that contain a pointer to these documents?
>>
>> Specifically, socket(2) contains a reference to
>> Documentation/crypto/crypto-API-userspace.txt. With the patch [1] the
>> document is gone and its contents is moved into a DocBook.
>>
>> Shall the kernel DocBook website [2] be referenced? If so, when is it
>> appropriate to add the patch (note, the change is expected to be
>> propagated to Linus' tree in 4.1-rc1).
>
>Referencing a kernel Documentation file from a man page sounds like
>a bad idea to me. Why can't we include a nroff-yfied version of the
>content in the man-pages repository?
You can see the compiled output at [1]. You see that the output is
larger. Of course I can provide a patch of the output from make mandocs
of that DocBook. I would think that this documentation is too large to
be put into socket(2).
The only proposal I would have is to format the output into a separate
man page for chapter 4.
[1] http://www.chronox.de/crypto-API/User.html
Ciao
Stephan
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Handling of updates to kernel Documentation/ tree
[not found] ` <20150309150739.GA6131-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2015-03-09 16:03 ` Michael Kerrisk (man-pages)
2015-03-09 16:16 ` Stephan Mueller
@ 2015-03-09 17:40 ` Mike Frysinger
2015-03-10 5:56 ` Michael Kerrisk (man-pages)
2015-03-10 14:11 ` Christoph Hellwig
2 siblings, 2 replies; 10+ messages in thread
From: Mike Frysinger @ 2015-03-09 17:40 UTC (permalink / raw)
To: Christoph Hellwig
Cc: Stephan Mueller, Michael Kerrisk,
linux-man-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]
On 09 Mar 2015 08:07, Christoph Hellwig wrote:
> On Mon, Mar 09, 2015 at 03:17:58PM +0100, Stephan Mueller wrote:
> > how shall an update to the Documentation/ tree be handled in man pages
> > that contain a pointer to these documents?
> >
> > Specifically, socket(2) contains a reference to
> > Documentation/crypto/crypto-API-userspace.txt. With the patch [1] the
> > document is gone and its contents is moved into a DocBook.
> >
> > Shall the kernel DocBook website [2] be referenced? If so, when is it
> > appropriate to add the patch (note, the change is expected to be
> > propagated to Linus' tree in 4.1-rc1).
>
> Referencing a kernel Documentation file from a man page sounds like
> a bad idea to me. Why can't we include a nroff-yfied version of the
> content in the man-pages repository?
isn't that way worse ? now we have to keep the man pages git repo in sync with
the kernel Documentation/ subtree.
i think having the man pages refer to the public docbook kernel.org pages should
be fine.
-mike
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Handling of updates to kernel Documentation/ tree
2015-03-09 17:40 ` Mike Frysinger
@ 2015-03-10 5:56 ` Michael Kerrisk (man-pages)
2015-03-10 14:11 ` Christoph Hellwig
1 sibling, 0 replies; 10+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-03-10 5:56 UTC (permalink / raw)
To: Christoph Hellwig, Stephan Mueller, Michael Kerrisk,
linux-man-u79uwXL29TY76Z2rM5mHXA
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
On 03/09/2015 06:40 PM, Mike Frysinger wrote:
> On 09 Mar 2015 08:07, Christoph Hellwig wrote:
>> On Mon, Mar 09, 2015 at 03:17:58PM +0100, Stephan Mueller wrote:
>>> how shall an update to the Documentation/ tree be handled in man pages
>>> that contain a pointer to these documents?
>>>
>>> Specifically, socket(2) contains a reference to
>>> Documentation/crypto/crypto-API-userspace.txt. With the patch [1] the
>>> document is gone and its contents is moved into a DocBook.
>>>
>>> Shall the kernel DocBook website [2] be referenced? If so, when is it
>>> appropriate to add the patch (note, the change is expected to be
>>> propagated to Linus' tree in 4.1-rc1).
>>
>> Referencing a kernel Documentation file from a man page sounds like
>> a bad idea to me. Why can't we include a nroff-yfied version of the
>> content in the man-pages repository?
>
> isn't that way worse ? now we have to keep the man pages git repo in sync with
> the kernel Documentation/ subtree.
Agreed. Unless it's totally automated, keeping things in synch is too
painful.
> i think having the man pages refer to the public docbook kernel.org pages should
> be fine.
It's acceptable, IMO, though proper installed documentation is better.
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Handling of updates to kernel Documentation/ tree
2015-03-09 17:40 ` Mike Frysinger
2015-03-10 5:56 ` Michael Kerrisk (man-pages)
@ 2015-03-10 14:11 ` Christoph Hellwig
[not found] ` <20150310141104.GA17228-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
1 sibling, 1 reply; 10+ messages in thread
From: Christoph Hellwig @ 2015-03-10 14:11 UTC (permalink / raw)
To: Christoph Hellwig, Stephan Mueller, Michael Kerrisk,
linux-man-u79uwXL29TY76Z2rM5mHXA
On Mon, Mar 09, 2015 at 01:40:57PM -0400, Mike Frysinger wrote:
> > Referencing a kernel Documentation file from a man page sounds like
> > a bad idea to me. Why can't we include a nroff-yfied version of the
> > content in the man-pages repository?
>
> isn't that way worse ? now we have to keep the man pages git repo in sync with
> the kernel Documentation/ subtree.
The content really should not change that much for public APIs.
> i think having the man pages refer to the public docbook kernel.org pages should
> be fine.
Pointing to kernel.org posted html renderings sounds perfectly fine to
me. The reference to files inside a kernel source tree is what I object
to.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 10+ messages in thread