diff --git a/doc/src/hexdoc/_export/__init__.py b/doc/src/hexdoc/_export/__init__.py index 2b4764e7..e69de29b 100644 --- a/doc/src/hexdoc/_export/__init__.py +++ b/doc/src/hexdoc/_export/__init__.py @@ -1,3 +0,0 @@ -__all__ = ["generated", "resources"] - -from . import generated, resources diff --git a/doc/src/hexdoc/hexcasting/_hooks.py b/doc/src/hexdoc/hexcasting/_hooks.py index a9e1fccd..b14cbefe 100644 --- a/doc/src/hexdoc/hexcasting/_hooks.py +++ b/doc/src/hexdoc/hexcasting/_hooks.py @@ -1,7 +1,8 @@ from importlib.resources import Package +import hexdoc._export.generated +import hexdoc._export.resources from hexdoc.__gradle_version__ import GRADLE_VERSION -from hexdoc._export import generated, resources from hexdoc.plugin import ( LoadResourceDirsImpl, LoadTaggedUnionsImpl, @@ -22,7 +23,7 @@ class HexcastingPlugin(LoadResourceDirsImpl, LoadTaggedUnionsImpl, ModVersionImp @staticmethod @hookimpl def hexdoc_load_resource_dirs() -> Package | list[Package]: - return [generated, resources] + return [hexdoc._export.generated, hexdoc._export.resources] @staticmethod @hookimpl