Re: [PATCH v6 12/12] Documentation: PCI: convert endpoint/pci-test-howto.txt to reST

From: Bjorn Helgaas
Date: Tue Jul 05 2022 - 18:24:56 EST


On Tue, May 14, 2019 at 10:47:34PM +0800, Changbin Du wrote:
> This converts the plain text documentation to reStructuredText format and
> add it to Sphinx TOC tree. No essential content change.
>
> Signed-off-by: Changbin Du <changbin.du@xxxxxxxxx>
> Acked-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
> Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx>

> --- a/Documentation/PCI/endpoint/pci-test-howto.txt
> +++ b/Documentation/PCI/endpoint/pci-test-howto.rst

> -1.4 Configuring pci-epf-test Device
> +
> +Configuring pci-epf-test Device
> +-------------------------------

This removed the "1.4" anchor for a subsequent reference:

> +Note that the devices listed here correspond to the value populated in 1.4
> +above::
>
> 00:00.0 PCI bridge: Texas Instruments Device 8888 (rev 01)
> 01:00.0 Unassigned class [ff00]: Texas Instruments Device b500

The text still contains "populated in 1.4 above", but "1.4" doesn't
exist anymore, so it doesn't point to anything.

I don't know the right way to make that reference in reST, but maybe
you do?

Bjorn