From 3574da338a908b84ccc93555ce85452d2fc3054a Mon Sep 17 00:00:00 2001 From: Miauwkeru Date: Thu, 28 Aug 2025 14:46:50 +0000 Subject: [PATCH 1/2] Skip generating classes that shadow a module --- docs/source/conf.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index f562ada..14265c8 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -186,6 +186,21 @@ def autoapi_skip_hook(app: Sphinx, what: str, name: str, obj, skip: bool, option # Do not skip OS modules in dissect.target (caught by `private-members`) if name.endswith("._os") and what == "module": skip = False + + # These entries have the issue that certain module or classes get exposed by __all__, however, this shadows a module + # that uses the same name, so we ignore them for now + if ( + name + in [ + "dissect.qnxfs.c_qnx4", + "dissect.qnxfs.c_qnx6", + "dissect.cstruct.cstruct", + "flow.record.stream", + "dissect.shellitem.lnk.c_lnk", + ] + and what != "module" + ): + skip = True return skip From 6baa39d8c445f36c3c145b029a96671f04eb7c7d Mon Sep 17 00:00:00 2001 From: Miauwkeru Date: Thu, 28 Aug 2025 14:47:18 +0000 Subject: [PATCH 2/2] Update the copyright year --- docs/source/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 14265c8..d57348b 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -28,6 +28,7 @@ project = "Dissect" copyright = "2023, Fox-IT part of NCC Group" +copyright = "2025, Fox-IT part of NCC Group" author = "Fox-IT part of NCC Group" # The full version, including alpha/beta/rc tags