Fix building of the docs for non-final versions.

This commit is contained in:
Michael Howitz 2023-04-13 08:22:34 +02:00
parent 4dac2dc663
commit 842a9f942d
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
6.1 (unreleased)
================
- Nothing changed yet.
- Fix building of the docs for non-final versions.
6.1a1 (2023-04-06)

View File

@ -56,14 +56,14 @@ master_doc = 'index'
# General information about the project.
project = 'zope.interface'
copyright = '2012-2017, Zope Foundation contributors'
copyright = '2012-2023, Zope Foundation contributors'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '%s.%s' % tuple(map(int, rqmt.version.split('.')[:2]))
version = '%s.%s' % tuple(rqmt.version.split('.')[:2])
# The full version, including alpha/beta/rc tags.
release = rqmt.version