Skip to content

Commit

Permalink
Fix how readthedocs imports socs version
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianJKoopman committed Sep 25, 2024
1 parent a9a971a commit 39bb20a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import sys

sys.path.insert(0, os.path.abspath('..'))
from socs._version import get_versions
from socs import __version__ as socs_version

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

Expand All @@ -25,9 +25,9 @@
author = 'Simons Observatory DAQ Group'

# The short X.Y version.
version = get_versions()['version']
version = socs_version
# The full version, including alpha/beta/rc tags.
release = version
release = socs_version


# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit 39bb20a

Please sign in to comment.