Thread (11 messages) 11 messages, 3 authors, 2026-01-13

Re: [PATCH v2 3/3] Documentation: Link man pages to https://man7.org/

From: Alejandro Colomar <alx@kernel.org>
Date: 2026-01-11 23:58:53

Hi Petr,

On Mon, Jan 12, 2026 at 12:35:32AM +0100, Petr Vorel wrote:
quoted hunk ↗ jump to hunk
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>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help