Re: [PATCH bpf-next] bpf, doc: use internal linking for link to netdev FAQ
From: Jonathan Corbet
Date: Mon Mar 13 2023 - 10:27:18 EST
David Vernet <void@xxxxxxxxxxxxx> writes:
>> In this specific case, though, there is a better solution. Text like:
>>
>> see the netdev FAQ (Documentation/process/maintainer-netdev.rst)
>>
>> will add links in the built docs, and also tells readers of the
>> plain-text files where they should be looking. Without adding warnings.
>
> Nice, seems like the best of both worlds. A syntax clarification
> question: are you saying that this would work?
>
>> see the `netdev-FAQ`_.
>>
>> <snip>
>>
>> .. _netdev-FAQ: Documentation/process/maintainer-netdev.rst
>
> Or is it required to have the full path inline in the text, as in your
> example:
>
>> see the netdev FAQ (Documentation/process/maintainer-netdev.rst)
>
> The benefit of the former is of course that you only have to specify the
> link in one place.
Yeah, but the latter is what we actually have.
Thanks,
jon