From caf938db3387b4125599d3c6931284fd417d3175 Mon Sep 17 00:00:00 2001 From: Romain Deville <code@romaindeville.fr> Date: Thu, 29 Apr 2021 12:49:56 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Update=20copyright=20handling=20in?= =?UTF-8?q?=20plugins.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/docs/_data/plugins.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/docs/_data/plugins.py b/templates/docs/_data/plugins.py index 462c7cb..cae7a4e 100644 --- a/templates/docs/_data/plugins.py +++ b/templates/docs/_data/plugins.py @@ -405,6 +405,10 @@ def set_copyright(env: dict, git_repo: git.Repo) -> None: "copyright" ] = f"Copyright © {first_year} - {curr_year} {env.variables['copyright']}" + env.variables[ + "full_copyright" + ] = f"Copyright © {first_year} - {curr_year} {env.variables['copyright']}" + def set_repo_name(env: dict, repo_slug: str) -> None: """Update content of the `repo_name` key in `env.conf`. -- GitLab