All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Petr Vorel <pvorel@suse.cz>
Cc: linux-doc@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>,
	 Michael Kerrisk <mtk@man7.org>,
	man-pages@man7.org
Subject: Re: [PATCH v2 3/3] Documentation: Link man pages to https://man7.org/
Date: Mon, 12 Jan 2026 00:58:35 +0100	[thread overview]
Message-ID: <aWQ4tqMVz-1WUc74@devuan> (raw)
In-Reply-To: <20260111233534.183272-4-pvorel@suse.cz>

[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]

Hi Petr,

On Mon, Jan 12, 2026 at 12:35:32AM +0100, Petr Vorel wrote:
> Configure manpages_url to link man pages to https://man7.org/.
> https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-manpages_url
> 
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> Completely rewritten in v2.
> 
>  Documentation/conf.py | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/conf.py b/Documentation/conf.py
> index 1ea2ae5c6276c..16d025af1f304 100644
> --- a/Documentation/conf.py
> +++ b/Documentation/conf.py
> @@ -51,6 +51,9 @@ else:
>      dyn_exclude_patterns.append("devicetree/bindings/**.yaml")
>      dyn_exclude_patterns.append("core-api/kho/bindings/**.yaml")
>  
> +# Link to man pages
> +manpages_url = 'https://man7.org/linux/man-pages/man{section}/{page}.{section}.html'

Nice!

Acked-by: Alejandro Colomar <alx@kernel.org>


Cheers,
Alex

> +
>  # Properly handle directory patterns and LaTeX docs
>  # -------------------------------------------------
>  
> -- 
> 2.51.0
> 

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2026-01-11 23:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-11 23:35 [PATCH v2 0/3] Documentation: Link man pages to https://man7.org/ Petr Vorel
2026-01-11 23:35 ` [PATCH v2 1/3] Documentation: sp_SP: Add missing man page section Petr Vorel
2026-01-12  0:00   ` Alejandro Colomar
2026-01-12 16:39   ` Jonathan Corbet
2026-01-11 23:35 ` [PATCH v2 2/3] Documentation: Remove :manpage: from non-existing man pages Petr Vorel
2026-01-12  0:00   ` Alejandro Colomar
2026-01-12 16:41   ` Jonathan Corbet
2026-01-13 11:00     ` Petr Vorel
2026-01-13 11:49       ` Alejandro Colomar
2026-01-11 23:35 ` [PATCH v2 3/3] Documentation: Link man pages to https://man7.org/ Petr Vorel
2026-01-11 23:58   ` Alejandro Colomar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aWQ4tqMVz-1WUc74@devuan \
    --to=alx@kernel.org \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=man-pages@man7.org \
    --cc=mtk@man7.org \
    --cc=pvorel@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.