Skip to content

Commit

Permalink
Merge pull request #73 from scipp/auto-date-docs
Browse files Browse the repository at this point in the history
Automatically get year in docs conf
  • Loading branch information
nvaytet authored Feb 6, 2025
2 parents 9ed855f + a82fe63 commit 44dc3a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import os
import sys
from datetime import datetime

src = os.path.abspath('../src')
os.environ['PYTHONPATH'] = src
Expand All @@ -11,7 +12,7 @@
# -- Project information -----------------------------------------------------

project = 'tof'
copyright = '2023, Scipp contributors'
copyright = f'{datetime.now().year}, Scipp contributors'
author = 'Neil Vaytet'

# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit 44dc3a1

Please sign in to comment.