Skip to content

Commit

Permalink
MNT update docs version dynamically (#35)
Browse files Browse the repository at this point in the history
* MNT update docs version

* Use moten
  • Loading branch information
mvdoc authored Aug 7, 2024
1 parent 6f5ba47 commit 504b0c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
author = 'Anwar O. Nunez-Elizalde'

# The full version, including alpha/beta/rc tags
release = '0.0.3'
import moten # noqa
# The short X.Y version.
version = ".".join(moten.__version__.split(".")[:2])
release = moten.__version__


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

0 comments on commit 504b0c0

Please sign in to comment.