Skip to content

Commit

Permalink
Fix version in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Nov 25, 2024
1 parent fcf3ec3 commit 6fcde1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# serve to show the default.

import contextlib
import importlib.metadata
import os
import sys
import time
Expand Down Expand Up @@ -76,7 +77,7 @@
# built documents.
#
# The full version, including alpha/beta/rc tags.
release = aiida_test_cache.__version__
release = importlib.metadata.version(aiida_test_cache)
# The short X.Y version.
version = '.'.join(release.split('.')[:2])

Expand Down

0 comments on commit 6fcde1c

Please sign in to comment.