Skip to content

Commit 173ce85

Browse files
committed
Imports commit version to doc
Still not great since we can't reliably increment the version and produce releases but it's an improvement since we'll only have to update the version once per release
1 parent a82f4e2 commit 173ce85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
sys.path.insert(0, os.path.abspath(".."))
1717

18+
from fortls._version import __version__ # noqa: E402
19+
1820
# Generate the agglomerated changes (from the CHANGELOG) between fortls
1921
# and the fortran-language-server project
2022
with open("../CHANGELOG.md", "r") as f:
@@ -57,7 +59,7 @@
5759
author = "Giannis Nikiteas"
5860

5961
# The full version, including alpha/beta/rc tags
60-
release = "2.0.0"
62+
release = __version__
6163

6264

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

0 commit comments

Comments
 (0)