File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 23
23
import subprocess
24
24
import sys
25
25
import urllib .parse
26
+ import time
26
27
27
28
import recommonmark
28
29
from sphinx .transforms import SphinxTransform
101
102
# The master toctree document.
102
103
#master_doc = 'index'
103
104
105
+ # Get current date (execution) for copyright year
106
+ current_date = time .localtime ()
107
+
104
108
# General information about the project.
105
109
project = 'Adafruit CircuitPython'
106
- copyright = '2014-2020 , MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)'
110
+ copyright = f '2014-{ current_date . tm_year } , MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)'
107
111
108
112
# These are overwritten on ReadTheDocs.
109
113
# The version info for the project you're documenting, acts as replacement for
You can’t perform that action at this time.
0 commit comments