From 7e92ba9278cab5b691f17ebbddf1052cb48fe5ba Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Tue, 18 Nov 2025 16:54:27 +0800 Subject: fix: Handle ImportError for GRPS module in configuration --- docs/source/conf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 14d3ed9..0feaab8 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -3,7 +3,11 @@ # For the full list of built-in configuration values, see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html -import GRPS +try: + import GRPS +except ImportError: + pass + import os, sys if sys.version_info >= (3, 11): -- cgit v1.2.3-70-g09d2