Skip to content

Commit

Permalink
Fix version detection in Sphinx config
Browse files Browse the repository at this point in the history
  • Loading branch information
olofk committed Oct 7, 2024
1 parent a614c26 commit b65b6ec
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import os
import sys
from datetime import datetime
from distutils.version import LooseVersion

import jsonschema2md

Expand Down Expand Up @@ -43,9 +42,7 @@

release = __version__
# The short X.Y version.
# v_major, v_minor = LooseVersion(release).version[:2]
# version = f"{v_major}.{v_minor}"
version = "2.4"
version = f"{release.split('.')[0]}.{release.split('.')[1]}"

# -- General configuration ---------------------------------------------------

Expand Down

0 comments on commit b65b6ec

Please sign in to comment.