mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-07-31 22:04:31 +00:00
set copyright time in documentation page automatically (#1205)
This commit is contained in:
committed by
GitHub
parent
13d680b2eb
commit
0ea7ef674c
@@ -14,6 +14,7 @@
|
|||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
import time
|
||||||
|
|
||||||
import sphinx_gallery.gen_rst
|
import sphinx_gallery.gen_rst
|
||||||
from furo.gen_tutorials import generate_tutorials
|
from furo.gen_tutorials import generate_tutorials
|
||||||
@@ -27,7 +28,7 @@ import gymnasium # noqa: E402
|
|||||||
|
|
||||||
|
|
||||||
project = "Gymnasium"
|
project = "Gymnasium"
|
||||||
copyright = "2023 Farama Foundation"
|
copyright = f"{time.localtime().tm_year} Farama Foundation"
|
||||||
author = "Farama Foundation"
|
author = "Farama Foundation"
|
||||||
|
|
||||||
# The full version, including alpha/beta/rc tags
|
# The full version, including alpha/beta/rc tags
|
||||||
|
Reference in New Issue
Block a user