docs: media: rc: use TOC instead of file contents for LIRC header

All we wanted were to have a way to link the comprehensive
documentation with the actual symbols parsed from the header
file, as this helps to identify any broken references.

Use the new :toc: flag for LIRC and enable warnings.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <94dc601b4777ca544489ffc6cef9a2da5fe28e0e.1759329363.git.mchehab+huawei@kernel.org>
This commit is contained in:
Mauro Carvalho Chehab
2025-10-01 16:49:34 +02:00
committed by Jonathan Corbet
parent a75968226c
commit 94d95887ea

View File

@@ -2,11 +2,19 @@
.. _lirc_header:
****************
LIRC Header File
****************
*****************
LIRC uAPI symbols
*****************
.. contents:: Table of Contents
:depth: 2
:local:
.. kernel-include:: include/uapi/linux/lirc.h
:generate-cross-refs:
:exception-file: lirc.h.rst.exceptions
:toc:
:warn-broken: