File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1212 hooks :
1313 - id : reuse
1414 - repo : https://github.com/pre-commit/pre-commit-hooks
15- rev : v4.4 .0
15+ rev : v5.0 .0
1616 hooks :
1717 - id : check-yaml
1818 - id : end-of-file-fixer
Original file line number Diff line number Diff line change 66
77import os
88import sys
9+ import datetime
910
1011sys .path .insert (0 , os .path .abspath (".." ))
1112
1617# ones.
1718extensions = [
1819 "sphinx.ext.autodoc" ,
20+ "sphinxcontrib.jquery" ,
1921 "sphinx.ext.intersphinx" ,
2022 "sphinx.ext.napoleon" ,
2123 "sphinx.ext.todo" ,
2224]
2325
2426intersphinx_mapping = {
25- "python" : ("https://docs.python.org/3.4 " , None ),
27+ "python" : ("https://docs.python.org/3" , None ),
2628 "CircuitPython" : ("https://circuitpython.readthedocs.io/en/latest/" , None ),
2729}
2830
3638
3739# General information about the project.
3840project = "Adafruit Shell Library"
39- copyright = "2020 Melissa LeBlanc-Williams"
41+ creation_year = "2020"
42+ current_year = str (datetime .datetime .now ().year )
43+ year_duration = (
44+ current_year
45+ if current_year == creation_year
46+ else creation_year + " - " + current_year
47+ )
48+ copyright = year_duration + " Melissa LeBlanc-Williams"
4049author = "Melissa LeBlanc-Williams"
4150
4251# 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