Skip to content

Commit

Permalink
Use year range fr copyright attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik authored Aug 23, 2022
1 parent 90cab0a commit 126fd3c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,14 @@

# General information about the project.
project = "Adafruit CircuitPython GUVX_I2C Library"
creation_year = "2022"
current_year = str(datetime.datetime.now().year)
copyright = current_year + " ladyada"
year_duration = (
current_year
if current_year == creation_year
else creation_year + " - " + current_year
)
copyright = year_duration + " ladyada"
author = "ladyada"

# The version info for the project you're documenting, acts as replacement for
Expand Down

0 comments on commit 126fd3c

Please sign in to comment.