Debian Codegraph @

astropy_sphinx_theme/__init__.py

raw
1 import warnings
2
3 from .bootstrap_astropy import get_html_theme_path as _old_theme_path
4
5
6 def get_html_theme_path():
7 warnings.warn(
8 "astropy_sphinx_theme.get_html_theme_path is deprecated, you shouldn't"
9 " need to manually specify the theme path as the theme is registered with sphinx",
10 DeprecationWarning,
11 stacklevel=2,
12 )
13 return _old_theme_path()