Skip to content

Commit

Permalink
Fix version import in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
simontorres committed Sep 24, 2024
1 parent 0d53f79 commit 2e84f27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
version: 2


build:
os: ubuntu-lts-latest
tools:
Expand Down
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
# import sys
# sys.path.insert(0, os.path.abspath('.'))

__version__ = __import__('goodman_focus').__version__
from importlib.metadata import version
__version__ = version('goodman_focus')

# -- Project information -----------------------------------------------------

Expand Down

0 comments on commit 2e84f27

Please sign in to comment.