From 57022ccbb0441e10734bd2eb4da1f3c7fd5bfe7a Mon Sep 17 00:00:00 2001 From: sigma67 Date: Sun, 28 Jul 2024 22:29:17 +0200 Subject: [PATCH] fix rtd build --- docs/conf.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 9f2098b4..a59bfbf9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -55,7 +55,7 @@ project = "Towncrier" copyright = "{}, Towncrier contributors. Ver {}".format( _today.year, - towncrier_version.public(), + towncrier_version, ) author = "Amber Brown" @@ -63,11 +63,9 @@ # |version| and |release|, also used in various other places throughout the # built documents. # The short X.Y version. -version = "{}.{}.{}".format( - towncrier_version.major, towncrier_version.minor, towncrier_version.micro -) +version = ".".join(towncrier_version.split(".")[:3]) # The full version, including alpha/beta/rc tags. -release = towncrier_version.public() +release = towncrier_version # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files.