From da656f97feed972b0d4ccf83197b57bc2cb1b7fc Mon Sep 17 00:00:00 2001 From: Daniel Garcia Moreno Date: Mon, 28 Oct 2024 12:45:37 +0100 Subject: [PATCH] Fix doc build with sphinx8 Fix https://github.com/RDFLib/rdflib/issues/2936 --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 44b21a91b..ff6545c1a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -300,7 +300,7 @@ def autodoc_skip_member_handler( """ # https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#event-autodoc-skip-member if ( - app.env.docname == "apidocs/rdflib" + app.env.docname in ["apidocs/rdflib", "apidocs/rdflib.namespace"] and what == "module" and type(obj).__name__.endswith("DefinedNamespaceMeta") ):