Re: [PATCH v2 7/7] docs: put atomic*.txt and memory-barriers.txt into the core-api book

From: Jonathan Corbet
Date: Fri Sep 23 2022 - 09:39:15 EST


Bagas Sanjaya <bagasdotme@xxxxxxxxx> writes:

> On 9/23/22 03:41, Jonathan Corbet wrote:
>> @@ -0,0 +1,18 @@
>> +.. SPDX-License-Identifier: GPL-2.0
>> + This is a simple wrapper to bring atomic_bitops.txt into the RST world
>> + until such a time as that file can be converted directly.
>> +
>> +=============
>> +Atomic bitops
>> +=============
>> +
>> +.. raw:: latex
>> +
>> + \footnotesize
>> +
>> +.. include:: ../../atomic_bitops.txt
>> + :literal:
>> +
>> +.. raw:: latex
>> +
>> + \normalsize
>
> Shouldn't warning like "This documentation isn't in RST format and included
> as literal block" be added?

Why? Who needs that information and what will they do with it?

Thanks,

jon