python-rdflib/sphinx8.patch
Daniel Garcia 5da9f90f62 - Update to 7.1.1:
* This minor release removes the dependency on some only Python
    packages, in particular six which is a problem for some Linux
    distributions that ship RDFLib.
  * Replace html5lib with html5rdf, make it an optional dependency PR #2951
  * Prevent crash when comparing ill-typed numeric types. PR #2949
  * Fix parser bug and add test PR #2943
  * Fix import ordering in get_merged_prs. PR #2947
- 7.1.0:
  * There are no major changes in this release over 7.0.0 and this
    release can be used in place of 7.0.0 without much worry about
    altered behaviour.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=69
2024-10-28 11:50:52 +00:00

14 lines
561 B
Diff

Index: rdflib-7.1.1/docs/conf.py
===================================================================
--- rdflib-7.1.1.orig/docs/conf.py
+++ rdflib-7.1.1/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")
):