Re: [PATCH] docs: driver-api: remove a duplicated index entry

From: Jonathan Corbet
Date: Wed Oct 21 2020 - 17:13:52 EST


On Thu, 15 Oct 2020 11:12:06 +0200
Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> wrote:

> The ipmb file was added twice at index.rst. That
> sounds to be because the same patch was applied twice,
> via different git trees:
>
> commit f6ae22d64433fd8e08654adad7966299da931bb9
> Author: Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx>
> Commit: Jonathan Corbet <corbet@xxxxxxx>
>
> docs: ipmb: place it at driver-api and convert to ReST
>
> commit ac499fba98c3c65078fd84fa0a62cd6f6d5837ed
> Author: Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx>
> Commit: Corey Minyard <cminyard@xxxxxxxxxx>
>
> docs: ipmb: place it at driver-api and convert to ReST
>
> With Sphinx 4.0.0 development tree, a new warning is produced
> due to that:
>
> .../Documentation/driver-api/index.rst:14: WARNING: duplicated entry found in toctree: driver-api/ipmb
>
> The fix is trivial: just drop the duplicated line.
>
> Fixes: f6ae22d64433 ("docs: ipmb: place it at driver-api and convert to ReST")
> Fixes: ac499fba98c3 ("docs: ipmb: place it at driver-api and convert to ReST")
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>

Interesting...I wonder how applying the patch twice could lead to the line
being inserted in two completely different locations like that? Anyway,
I've applied this one, hopefully nobody else will do the same :)

Thanks,

jon