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,