Documentation: Link man pages to https://man7.org/

Configure manpages_url to link man pages to https://man7.org/.
https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-manpages_url

Acked-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260113113612.315748-3-pvorel@suse.cz>
This commit is contained in:
Petr Vorel
2026-01-13 12:36:09 +01:00
committed by Jonathan Corbet
parent e5b1c0fa4f
commit 9088a767e7

View File

@@ -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'
# Properly handle directory patterns and LaTeX docs
# -------------------------------------------------