From 5a578b6fdbf32b2f708b376eaf03d2ec7c786871 Mon Sep 17 00:00:00 2001 From: Stuart Mumford Date: Mon, 11 Mar 2024 14:00:18 +0000 Subject: [PATCH] Cleanup conf.py (#65) --- {{ cookiecutter.package_name }}/docs/conf.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/{{ cookiecutter.package_name }}/docs/conf.py b/{{ cookiecutter.package_name }}/docs/conf.py index b15cce2..e595c98 100644 --- a/{{ cookiecutter.package_name }}/docs/conf.py +++ b/{{ cookiecutter.package_name }}/docs/conf.py @@ -4,19 +4,18 @@ # full list see the documentation: # http://www.sphinx-doc.org/en/master/config - import datetime + # -- Project information ----------------------------------------------------- # The full version, including alpha/beta/rc tags from {{ cookiecutter.module_name }} import __version__ - release = __version__ project = "{{ cookiecutter.package_name }}" -copyright = str(datetime.datetime.now().year) + " , {{ cookiecutter.author_name }}" # noqa: A001 author = "{{ cookiecutter.author_name }}" +copyright = f"{datetime.datetime.now().year}, {author}" # noqa: A001 # -- General configuration ---------------------------------------------------