From d5aabb196ff866046c4214362a71ae579133e290 Mon Sep 17 00:00:00 2001 From: "T. E. Pickering" Date: Fri, 6 Dec 2024 17:52:42 -0700 Subject: [PATCH] fix docs breakage due to not properly importing version --- docs/conf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 6568bf6..e1b4a60 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -30,6 +30,8 @@ import datetime from importlib import import_module +from mmtwfs.version import version as __version__ + try: from sphinx_astropy.conf.v1 import * # noqa except ImportError: @@ -80,9 +82,9 @@ package = sys.modules[setup_cfg['name']] # The short X.Y version. -version = package.__version__.split('-', 1)[0] +version = __version__.split('-', 1)[0] # The full version, including alpha/beta/rc tags. -release = package.__version__ +release = __version__ # -- Options for HTML output --------------------------------------------------