Skip to content

Commit 256119f

Browse files
authored
chore: template the copyright year in docs/conf.py (#897)
1 parent 99db48c commit 256119f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022-2024 Serious Scaffold
3+
Copyright (c) 2022-2025 Serious Scaffold
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
1111

1212
author = "huxuan"
13-
copyright = "2023, huxuan"
13+
copyright = "2022-2025, huxuan"
1414
project = "Serious Scaffold Python"
1515
release = metadata.version("ss-python")
1616
version = ".".join(release.split(".")[:2])

includes/copier-answers-sample.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ author_email: [email protected]
22
author_name: huxuan
33
copyright_holder: Serious Scaffold
44
copyright_license: MIT License
5-
copyright_year: 2022-2024
5+
copyright_year: 2022-2025
66
coverage_threshold: 100
77
default_py: "3.12"
88
development_status: Alpha

template/docs/conf.py.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ from importlib import metadata
1010
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
1111

1212
author = "{{ author_name }}"
13-
copyright = "2023, {{ author_name }}"
13+
copyright = "{{ copyright_year }}, {{ author_name }}"
1414
project = "{{ project_name }}"
1515
release = metadata.version("{{ package_name }}")
1616
version = ".".join(release.split(".")[:2])

0 commit comments

Comments
 (0)