Skip to content

Commit

Permalink
Auto-set current year in docs copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
francisco-dlp committed Jul 11, 2019
1 parent dd9c49d commit 30a34d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

import sys
import os
from datetime import datetime

sys.path.append('../')
from hyperspy import Release
sys.path.append(os.path.abspath('sphinxext'))
Expand Down Expand Up @@ -56,7 +58,7 @@

# General information about the project.
project = 'HyperSpy'
copyright = '2011-2018, The HyperSpy development team'
copyright = f'2011-{datetime.today().year}, The HyperSpy development team'

# 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 30a34d2

Please sign in to comment.