Skip to content

Commit

Permalink
docs: automatically keep copyright footer current
Browse files Browse the repository at this point in the history
It took about 5 months to notice that this was outdated, and another
month of forgetting to commit the local change, to get here.
  • Loading branch information
dgw committed Jul 2, 2022
1 parent 4d80d3d commit 17bb5b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

from datetime import date
import sys, os
parentdir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
os.sys.path.insert(0,parentdir)
Expand Down Expand Up @@ -66,7 +67,7 @@

# General information about the project.
project = 'Sopel'
copyright = '2012-2021, Sopel contributors'
copyright = '2012-{}, Sopel contributors'.format(date.today().year)

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down

0 comments on commit 17bb5b9

Please sign in to comment.