From 7ac59f3a5b4fd98926eb76af7a7585e37b4e1c59 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 25 Jun 2025 07:46:15 +0800 Subject: [PATCH] doc/_ext: do not import unused module PyField and BuildEnvironment are not used in `ceph_confval.py`, so let's remove the corresponding import statements. Signed-off-by: Kefu Chai --- doc/_ext/ceph_confval.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/doc/_ext/ceph_confval.py b/doc/_ext/ceph_confval.py index da93d1b415c..3a1a9b8abea 100644 --- a/doc/_ext/ceph_confval.py +++ b/doc/_ext/ceph_confval.py @@ -10,8 +10,6 @@ from docutils.statemachine import StringList from sphinx import addnodes from sphinx.directives import ObjectDescription -from sphinx.domains.python import PyField -from sphinx.environment import BuildEnvironment from sphinx.locale import _ from sphinx.util import logging, status_iterator, ws_re from sphinx.util.docutils import switch_source_input, SphinxDirective -- 2.39.5