Skip to content

docs: use a dynamic copyright year range (mimic QuantEcon.py)#23

Merged
oyamad merged 1 commit into
mainfrom
docs-copyright-year
Jun 20, 2026
Merged

docs: use a dynamic copyright year range (mimic QuantEcon.py)#23
oyamad merged 1 commit into
mainfrom
docs-copyright-year

Conversation

@oyamad

@oyamad oyamad commented Jun 20, 2026

Copy link
Copy Markdown
Member

Mirror QuantEcon.py's conf.py for the copyright string, which builds a dynamic year range:

year = datetime.now().year
copyright = f'2014-{year}, QuantEcon Developer Team'

Here the start year is 2025 (this project's first year, per LICENSE) and the holder stays QuantEcon to match the repo's LICENSE:

year = datetime.now().year
copyright = f"2025-{year}, QuantEcon"

The footer now reads © Copyright 2025-2026, QuantEcon. and tracks the current year automatically — no annual edit needed.

Verification

Local Sphinx 9.1 build, warning-free; rendered footer confirmed as © Copyright 2025-2026, QuantEcon.

🤖 Generated with Claude Code

Mirror QuantEcon.py's conf.py, which builds the copyright string from a
fixed start year through the current year via datetime.now().year. Use
2025 (the project's first year, per LICENSE) as the start so the footer
shows e.g. "2025-2026, QuantEcon" and stays current without edits.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 100.0%. remained the same — docs-copyright-year into main

@oyamad oyamad merged commit 260b907 into main Jun 20, 2026
7 checks passed
@oyamad oyamad deleted the docs-copyright-year branch June 20, 2026 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants