summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2022-03-29 15:37:19 -0700
committerGitHub <noreply@github.com>2022-03-29 15:37:19 -0700
commite6c47fe3a1e97c890d8f383ecb15c33817926419 (patch)
treed8e8e4f5e24a0a8718db325eced22e91caeb4544
parent96a1c0bb18e17530b0d17376e59ae198e2b5e4ce (diff)
downloadnumpydoc-e6c47fe3a1e97c890d8f383ecb15c33817926419.tar.gz
Update year (#370)
-rw-r--r--LICENSE.txt2
-rw-r--r--doc/conf.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/LICENSE.txt b/LICENSE.txt
index dcd45e6..7806ffd 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,4 +1,4 @@
-Copyright (C) 2008 Stefan van der Walt <stefan@mentat.za.net>, Pauli Virtanen <pav@iki.fi>
+Copyright (C) 2008-2022 Stefan van der Walt <stefan@mentat.za.net>, Pauli Virtanen <pav@iki.fi>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
diff --git a/doc/conf.py b/doc/conf.py
index ad142da..7c30f9c 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -12,6 +12,7 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
+from datetime import date
import sys
import os
import re
@@ -68,7 +69,7 @@ master_doc = 'index' # NOTE: will be changed to `root_doc` in sphinx 4
# General information about the project.
project = u'numpydoc'
-copyright = u'2019, numpydoc maintainers'
+copyright = f'2019-{date.today().year}, numpydoc maintainers'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the