diff --git a/doc/conf.py b/doc/conf.py
index ebccd004f..d7ed06d26 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -38,9 +38,9 @@ author = 'Max Kellermann'
 # built documents.
 #
 # The short X.Y version.
-version = '0.23~git'
+version = '0.23'
 # The full version, including alpha/beta/rc tags.
-release = version
+release = version + '~git'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.