[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87v7kcz3yl.fsf@trenco.lwn.net>
Date: Sat, 18 Oct 2025 08:20:34 -0600
From: Jonathan Corbet <corbet@....net>
To: Bagas Sanjaya <bagasdotme@...il.com>, Linux Kernel Mailing List
<linux-kernel@...r.kernel.org>, Linux Documentation
<linux-doc@...r.kernel.org>, Linux Kernel Tracing
<linux-trace-kernel@...r.kernel.org>
Cc: Steven Rostedt <rostedt@...dmis.org>, Tomas Glozar <tglozar@...hat.com>,
Crystal Wood <crwood@...hat.com>, Gopi Krishna Menon
<krishnagopi487@...il.com>
Subject: Re: [PATCH] Documentation/rtla: rename common_xxx.rst files to
common_xxx.txt
Bagas Sanjaya <bagasdotme@...il.com> writes:
> On Fri, Oct 17, 2025 at 02:27:01PM -0600, Jonathan Corbet wrote:
>> Bagas Sanjaya <bagasdotme@...il.com> writes:
>>
>> > From: Gopi Krishna Menon <krishnagopi487@...il.com>
>> >
>> > Sphinx reports htmldocs errors:
>> >
>> > Documentation/tools/rtla/common_options.rst:58: ERROR: Undefined substitution referenced: "threshold".
>> > Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "tool".
>> > Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "thresharg".
>> > Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "tracer".
>> > Documentation/tools/rtla/common_options.rst:92: ERROR: Undefined substitution referenced: "tracer".
>> > Documentation/tools/rtla/common_options.rst:98: ERROR: Undefined substitution referenced: "actionsperf".
>> > Documentation/tools/rtla/common_options.rst:113: ERROR: Undefined substitution referenced: "tool".
>> >
>> > common_*.rst files are snippets that are intended to be included by rtla
>> > docs (rtla*.rst). common_options.rst in particular contains
>> > substitutions which depend on other common_* includes, so building it
>> > independently as reST source results in above errors.
>> >
>> > Rename all common_*.rst files to common_*.txt to prevent Sphinx from
>> > building these snippets as standalone reST source and update all include
>> > references accordingly.
>>
>> Applied, thanks.
>
> Shouldn't this more appropriate as a fix for current cycle (6.18)? I see
> the warnings on Linus's tree, though.
As a general rule, I don't see warning fixes as being important enough
to send outside of the merge window; the next cycle isn't that far away.
jon
Powered by blists - more mailing lists