diff options
| author | 2025-11-18 16:54:27 +0800 | |
|---|---|---|
| committer | 2025-11-18 16:54:27 +0800 | |
| commit | 7e92ba9278cab5b691f17ebbddf1052cb48fe5ba (patch) | |
| tree | f96e42e5c394e019fe9013a9016cd200cb75a01c /docs | |
| parent | cde8341265e6e266969429e6f1b0168d90206a90 (diff) | |
| download | GRPS-7e92ba9278cab5b691f17ebbddf1052cb48fe5ba.tar.gz GRPS-7e92ba9278cab5b691f17ebbddf1052cb48fe5ba.zip | |
fix: Handle ImportError for GRPS module in configuration
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/source/conf.py | 6 |
1 files changed, 5 insertions, 1 deletions
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): |
