diff --git a/docs/_ext/custom_styles/option_parser.py b/docs/_ext/custom_styles/option_parser.py index da9b1e4c70..63b752fd6c 100644 --- a/docs/_ext/custom_styles/option_parser.py +++ b/docs/_ext/custom_styles/option_parser.py @@ -21,7 +21,8 @@ from typing import Type, Optional import numpy as np -from sphinx.ext.autodoc import Sphinx, Options as SphinxOptions +from sphinx.application import Sphinx +from sphinx.ext.autodoc import Options as SphinxOptions from sphinx.ext.napoleon import Config as NapoleonConfig from sphinx.ext.napoleon import GoogleDocstring