diff --git a/docs/conf.py b/docs/conf.py index 33c4153..8429616 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -58,7 +58,7 @@ pipe = Popen("git describe --tags --always", stdout=PIPE, shell=True) git_version = pipe.stdout.read().decode("utf8") if git_version: - version = git_version + version = git_version.rsplit("-", 1)[0] release = git_version else: version = "" diff --git a/docs/index.rst b/docs/index.rst index 2a8d4c5..f50d76e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,6 +1,6 @@ -============== - sqlite-utils -============== +======================= + sqlite-utils |version| +======================= *Python utility functions for manipulating SQLite databases*