Skip to content

Commit

Permalink
Merge pull request #1104 from VWS-Python/simplify-copyright
Browse files Browse the repository at this point in the history
Use Sphinx feature to simplify setting copyright
  • Loading branch information
adamtheturtle authored Oct 7, 2024
2 parents 07634fd + d75d6dd commit 335f92b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

# pylint: disable=invalid-name

import datetime
import importlib.metadata

from packaging.specifiers import SpecifierSet
Expand All @@ -26,8 +25,7 @@
source_suffix = ".rst"
master_doc = "index"

year = datetime.datetime.now(tz=datetime.UTC).year
project_copyright = f"{year}, {author}"
project_copyright = f"%Y, {author}"

# Exclude the prompt from copied code with sphinx_copybutton.
# https://sphinx-copybutton.readthedocs.io/en/latest/use.html#automatic-exclusion-of-prompts-from-the-copies.
Expand Down

0 comments on commit 335f92b

Please sign in to comment.