diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2025-08-12 17:52:41 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2025-08-13 10:19:17 -0600 |
commit | 9ecda2e10101537e97bcb2b05049e58306ac4e1b (patch) | |
tree | 540048ff84bc3d1ad3ab3e8c8a1d2be282001d78 /scripts/bpf_doc.py | |
parent | 8cd256524a920782268a0dd7e3e0404c34bfc65f (diff) |
scripts: sphinx-pre-install: convert is_optional to a class
When is_optional was added in Perl, it was a boolean. With
time, it ended becoming a sort of enum, which makes the
module harder to maintain.
Convert it to a enum-like class and add more options to it.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/42290a24f3b1dbea9ebe19747cf5622bb2f2cf5c.1754992972.git.mchehab+huawei@kernel.org
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions