OSDN Git Service

bpf, docs: Use internal linking for link to netdev subsystem doc
authorBagas Sanjaya <bagasdotme@gmail.com>
Tue, 14 Mar 2023 07:44:49 +0000 (14:44 +0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 17 Mar 2023 12:58:57 +0000 (13:58 +0100)
commit0f10f647f45545004ea50b73a7a7c5c3309ff286
tree8c4fa267954f726b1f3d41dac1b6b8fce1094ce6
parentbd5314f8dd2d41330eecb60f0490c3fcfe1fc99d
bpf, docs: Use internal linking for link to netdev subsystem doc

Commit d56b0c461d19da ("bpf, docs: Fix link to netdev-FAQ target")
attempts to fix linking problem to undefined "netdev-FAQ" label
introduced in 287f4fa99a5281 ("docs: Update references to netdev-FAQ")
by changing internal cross reference to netdev subsystem documentation
(Documentation/process/maintainer-netdev.rst) to external one at
docs.kernel.org. However, the linking problem is still not
resolved, as the generated link points to non-existent netdev-FAQ
section of the external doc, which when clicked, will instead going
to the top of the doc.

Revert back to internal linking by simply mention the doc path while
massaging the leading text to the link, since the netdev subsystem
doc contains no FAQs but rather general information about the subsystem.

Fixes: d56b0c461d19 ("bpf, docs: Fix link to netdev-FAQ target")
Fixes: 287f4fa99a52 ("docs: Update references to netdev-FAQ")
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20230314074449.23620-1-bagasdotme@gmail.com
Documentation/bpf/bpf_devel_QA.rst