2022-09-27 16:28:46

by Jonathan Corbet

[permalink] [raw]
Subject: [PATCH v3 7/7] docs: add a man-pages link to the front page

Readers looking for user-oriented information may benefit from it.

Signed-off-by: Jonathan Corbet <[email protected]>
---
Documentation/index.rst | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/index.rst b/Documentation/index.rst
index 5a700548ae82..85eab6e990ab 100644
--- a/Documentation/index.rst
+++ b/Documentation/index.rst
@@ -76,6 +76,8 @@ developers seeking information on the kernel's user-space APIs.
User-space tools <tools/index>
userspace-api/index

+See also: the `Linux man pages <https://www.kernel.org/doc/man-pages/>`_,
+which are kept separately from the kernel's own documentation.

Firmware-related documentation
------------------------------
--
2.37.2


2022-09-27 19:35:40

by David Vernet

[permalink] [raw]
Subject: Re: [PATCH v3 7/7] docs: add a man-pages link to the front page

On Tue, Sep 27, 2022 at 10:05:59AM -0600, Jonathan Corbet wrote:
> Readers looking for user-oriented information may benefit from it.
>
> Signed-off-by: Jonathan Corbet <[email protected]>

Reviewed-by: David Vernet <[email protected]>

2022-09-28 06:41:04

by Thorsten Leemhuis

[permalink] [raw]
Subject: Re: [PATCH v3 7/7] docs: add a man-pages link to the front page



On 27.09.22 18:05, Jonathan Corbet wrote:
> Readers looking for user-oriented information may benefit from it.
>
> Signed-off-by: Jonathan Corbet <[email protected]>
> ---
> Documentation/index.rst | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/index.rst b/Documentation/index.rst
> index 5a700548ae82..85eab6e990ab 100644
> --- a/Documentation/index.rst
> +++ b/Documentation/index.rst
> @@ -76,6 +76,8 @@ developers seeking information on the kernel's user-space APIs.
> User-space tools <tools/index>
> userspace-api/index
>
> +See also: the `Linux man pages <https://www.kernel.org/doc/man-pages/>`_,
> +which are kept separately from the kernel's own documentation.

People following that link might be inclined to click on the section 1
and then find a lot of stuff that has nothing or not much to do with the
kernel and then might feel lost. So how about a text like this instead:

```
See also the `Linux man pages <https://www.kernel.org/doc/man-pages/>`_,
as that where some of the kernel's documentation is kept. Among it are
for example descriptions of Linux' `system calls
<https://man7.org/linux/man-pages/dir_section_2.html>`_ and `devices
<https://man7.org/linux/man-pages/dir_section_4.html>`_; the sections
`files <https://man7.org/linux/man-pages/dir_section_5.html>`_ and
`overviews, conventions, and miscellaneous
<https://man7.org/linux/man-pages/dir_section_7.html>`_ also contain
many documents dedicated to aspects of the kernel.
```

The last section (e.g. everything after the semicolon) might not be
worth it.

Ciao, Thorsten

2022-09-28 15:07:42

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH v3 7/7] docs: add a man-pages link to the front page



On 9/27/22 23:21, Thorsten Leemhuis wrote:
>
>
> On 27.09.22 18:05, Jonathan Corbet wrote:
>> Readers looking for user-oriented information may benefit from it.
>>
>> Signed-off-by: Jonathan Corbet <[email protected]>
>> ---
>> Documentation/index.rst | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/Documentation/index.rst b/Documentation/index.rst
>> index 5a700548ae82..85eab6e990ab 100644
>> --- a/Documentation/index.rst
>> +++ b/Documentation/index.rst
>> @@ -76,6 +76,8 @@ developers seeking information on the kernel's user-space APIs.
>> User-space tools <tools/index>
>> userspace-api/index
>>
>> +See also: the `Linux man pages <https://www.kernel.org/doc/man-pages/>`_,
>> +which are kept separately from the kernel's own documentation.
>
> People following that link might be inclined to click on the section 1
> and then find a lot of stuff that has nothing or not much to do with the
> kernel and then might feel lost. So how about a text like this instead:
>
> ```
> See also the `Linux man pages <https://www.kernel.org/doc/man-pages/>`_,
> as that where some of the kernel's documentation is kept. Among it are
> for example descriptions of Linux' `system calls
> <https://man7.org/linux/man-pages/dir_section_2.html>`_ and `devices
> <https://man7.org/linux/man-pages/dir_section_4.html>`_; the sections
> `files <https://man7.org/linux/man-pages/dir_section_5.html>`_ and
> `overviews, conventions, and miscellaneous
> <https://man7.org/linux/man-pages/dir_section_7.html>`_ also contain
> many documents dedicated to aspects of the kernel.
> ```
>
> The last section (e.g. everything after the semicolon) might not be
> worth it.

I prefer the simple instead of the verbose.

--
~Randy

2022-09-28 21:02:38

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH v3 7/7] docs: add a man-pages link to the front page

Thorsten Leemhuis <[email protected]> writes:

> On 27.09.22 18:05, Jonathan Corbet wrote:
>> Readers looking for user-oriented information may benefit from it.
>>
>> Signed-off-by: Jonathan Corbet <[email protected]>
>> ---
>> Documentation/index.rst | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/Documentation/index.rst b/Documentation/index.rst
>> index 5a700548ae82..85eab6e990ab 100644
>> --- a/Documentation/index.rst
>> +++ b/Documentation/index.rst
>> @@ -76,6 +76,8 @@ developers seeking information on the kernel's user-space APIs.
>> User-space tools <tools/index>
>> userspace-api/index
>>
>> +See also: the `Linux man pages <https://www.kernel.org/doc/man-pages/>`_,
>> +which are kept separately from the kernel's own documentation.
>
> People following that link might be inclined to click on the section 1
> and then find a lot of stuff that has nothing or not much to do with the
> kernel and then might feel lost. So how about a text like this instead:
>
> ```
> See also the `Linux man pages <https://www.kernel.org/doc/man-pages/>`_,
> as that where some of the kernel's documentation is kept. Among it are
> for example descriptions of Linux' `system calls
> <https://man7.org/linux/man-pages/dir_section_2.html>`_ and `devices
> <https://man7.org/linux/man-pages/dir_section_4.html>`_; the sections
> `files <https://man7.org/linux/man-pages/dir_section_5.html>`_ and
> `overviews, conventions, and miscellaneous
> <https://man7.org/linux/man-pages/dir_section_7.html>`_ also contain
> many documents dedicated to aspects of the kernel.
> ```

Honestly, if the landing page for the man pages is not sufficiently
clear to guide readers toward their goal, then I think the fix needs to
be applied there. Reproducing parts of it on the kernel front page
seems like the wrong solution, somehow...

Thanks,

jon