summaryrefslogtreecommitdiff
path: root/sphinx/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/config.py')
-rw-r--r--sphinx/config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/config.py b/sphinx/config.py
index 02c70cea0..702271e1b 100644
--- a/sphinx/config.py
+++ b/sphinx/config.py
@@ -92,7 +92,8 @@ class Config:
# general options
'project': ('Python', 'env', []),
'author': ('unknown', 'env', []),
- 'copyright': ('', 'html', []),
+ 'project_copyright': ('', 'html', [str]),
+ 'copyright': (lambda c: c.project_copyright, 'html', [str]),
'version': ('', 'env', []),
'release': ('', 'env', []),
'today': ('', 'env', []),