From 0528d3f447a7e9d201045b0b408a26a481601638 Mon Sep 17 00:00:00 2001 From: Almar Klein Date: Mon, 2 Oct 2023 16:04:12 +0200 Subject: [PATCH] fix docs? --- docs/conf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 7a12110a..9ec002df 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,6 +14,8 @@ import os import sys import shutil +import collections + ROOT_DIR = os.path.abspath(os.path.join(__file__, "..", "..")) sys.path.insert(0, ROOT_DIR) @@ -24,6 +26,9 @@ import wgpu.gui # noqa: E402 +# Hack to get napoleon sphynx ext working +collections.Callable = collections.abc.Callable + # -- Tests ------------------------------------------------------------------- # Ensure that all classes are references in the alphabetic list,