Skip to content

Commit

Permalink
fix docs breakage due to not properly importing version
Browse files Browse the repository at this point in the history
  • Loading branch information
tepickering committed Dec 7, 2024
1 parent fe2e4e4 commit d5aabb1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 --------------------------------------------------
Expand Down

0 comments on commit d5aabb1

Please sign in to comment.