summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Howitz <mh@gocept.com>2023-04-13 08:22:34 +0200
committerMichael Howitz <mh@gocept.com>2023-04-13 08:23:33 +0200
commit842a9f942d798c061b808333fe3dd8a5365c8785 (patch)
tree2c5d80cfc4e2818d523dcbc4232e781f23616164
parent4dac2dc66312433e1e137aa6dc5c51f62c3d8f24 (diff)
downloadzope-interface-842a9f942d798c061b808333fe3dd8a5365c8785.tar.gz
Fix building of the docs for non-final versions.
-rw-r--r--CHANGES.rst2
-rw-r--r--docs/conf.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 0d78fc9..ee3c2cd 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -5,7 +5,7 @@
6.1 (unreleased)
================
-- Nothing changed yet.
+- Fix building of the docs for non-final versions.
6.1a1 (2023-04-06)
diff --git a/docs/conf.py b/docs/conf.py
index dfbf09e..1958a75 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -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