mbox series

[bpf-next,0/3] Fix Navigation Issues in Docs

Message ID cover.1636749493.git.dave@dtucker.co.uk (mailing list archive)
Headers show
Series Fix Navigation Issues in Docs | expand

Message

Dave Tucker Nov. 12, 2021, 9:17 p.m. UTC
This patch set fixes a couple of documentation issues that was causing
some strange behaviour when the sidebar was rendered in the HTML docs.

1. The underlines in the BTF document weren't following the docs
guidelines, which I believe caused an issue rendering the TOC with my
other patches applied
2. Mixing the Sphix toctree with named sections was causing name stutter
in the sidebar navigation. For example:

  | BPF Type Format
    | - BPF Type Format
3. The libbpf API documentation wasn't referenced in a toctree

It also renames bpf_lsm.rst to prog_lsm.rst such that documentation for
program types can be included in the toctree via glob for prog_*

Dave Tucker (3):
  docs: change underline in btf to match style guide
  docs: Rename bpf_lsm.rst to prog_lsm.rst
  docs: fix ordering of bpf documentation

 Documentation/bpf/btf.rst                     | 44 ++++-----
 Documentation/bpf/faq.rst                     | 11 +++
 Documentation/bpf/helpers.rst                 |  7 ++
 Documentation/bpf/index.rst                   | 97 +++----------------
 Documentation/bpf/libbpf/index.rst            |  4 +-
 Documentation/bpf/maps.rst                    |  9 ++
 Documentation/bpf/other.rst                   |  9 ++
 .../bpf/{bpf_lsm.rst => prog_lsm.rst}         |  0
 Documentation/bpf/programs.rst                |  9 ++
 Documentation/bpf/syscall_api.rst             | 11 +++
 Documentation/bpf/test_debug.rst              |  9 ++
 MAINTAINERS                                   |  2 +-
 12 files changed, 103 insertions(+), 109 deletions(-)
 create mode 100644 Documentation/bpf/faq.rst
 create mode 100644 Documentation/bpf/helpers.rst
 create mode 100644 Documentation/bpf/maps.rst
 create mode 100644 Documentation/bpf/other.rst
 rename Documentation/bpf/{bpf_lsm.rst => prog_lsm.rst} (100%)
 create mode 100644 Documentation/bpf/programs.rst
 create mode 100644 Documentation/bpf/syscall_api.rst
 create mode 100644 Documentation/bpf/test_debug.rst

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 17, 2021, 10:30 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Fri, 12 Nov 2021 21:17:21 +0000 you wrote:
> This patch set fixes a couple of documentation issues that was causing
> some strange behaviour when the sidebar was rendered in the HTML docs.
> 
> 1. The underlines in the BTF document weren't following the docs
> guidelines, which I believe caused an issue rendering the TOC with my
> other patches applied
> 2. Mixing the Sphix toctree with named sections was causing name stutter
> in the sidebar navigation. For example:
> 
> [...]

Here is the summary with links:
  - [bpf-next,1/3] docs: change underline in btf to match style guide
    https://git.kernel.org/bpf/bpf-next/c/3ff36bffaf35
  - [bpf-next,2/3] docs: Rename bpf_lsm.rst to prog_lsm.rst
    https://git.kernel.org/bpf/bpf-next/c/f5b1c2ef43d7
  - [bpf-next,3/3] docs: fix ordering of bpf documentation
    https://git.kernel.org/bpf/bpf-next/c/5931d9a3d052

You are awesome, thank you!