Simon Hengel pushed to branch wip/sol/docs-copyright at Glasgow Haskell Compiler / GHC
Commits:
-
f593bdbe
by Simon Hengel at 2025-09-28T07:00:26+07:00
1 changed file:
Changes:
... | ... | @@ -7,6 +7,7 @@ |
7 | 7 | #
|
8 | 8 | import sys
|
9 | 9 | import os
|
10 | +from datetime import datetime, timezone
|
|
10 | 11 | |
11 | 12 | # Support for :base-ref:, etc.
|
12 | 13 | sys.path.insert(0, os.path.abspath('.'))
|
... | ... | @@ -44,7 +45,7 @@ rst_prolog = """ |
44 | 45 | |
45 | 46 | # General information about the project.
|
46 | 47 | project = u'Glasgow Haskell Compiler'
|
47 | -copyright = u'2023, GHC Team'
|
|
48 | +copyright = f"{datetime.now(timezone.utc).year}, GHC Team"
|
|
48 | 49 | # N.B. version comes from ghc_config
|
49 | 50 | release = version # The full version, including alpha/beta/rc tags.
|
50 | 51 |