From 0ea7ef674c64f18cf93da0c66a483fe68d96826d Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 11 Oct 2024 11:24:21 +0300 Subject: [PATCH] set copyright time in documentation page automatically (#1205) --- docs/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index e97237ab2..8f987add0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,6 +14,7 @@ import os import re import sys +import time import sphinx_gallery.gen_rst from furo.gen_tutorials import generate_tutorials @@ -27,7 +28,7 @@ import gymnasium # noqa: E402 project = "Gymnasium" -copyright = "2023 Farama Foundation" +copyright = f"{time.localtime().tm_year} Farama Foundation" author = "Farama Foundation" # The full version, including alpha/beta/rc tags