Skip to content

Commit

Permalink
Merge pull request #77 from akcano/main
Browse files Browse the repository at this point in the history
add comment on copyright notice format to custom_conf.py
  • Loading branch information
ru-fu authored Aug 18, 2023
2 parents fd47141 + 616f340 commit 29f9214
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion custom_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,20 @@
# Uncomment if your product uses release numbers
# release = '1.0'

# The default value uses the current year as the copyright year
# The default value uses the current year as the copyright year.
#
# For static works, it is common to provide the year of first publication.
# Another option is to give the first year and the current year
# for documentation that is often changed, e.g. 2022–2023 (note the en-dash).
#
# A way to check a GitHub repo's creation date is to obtain a classic GitHub
# token with 'repo' permissions here: https://github.com/settings/tokens
# Next, use 'curl' and 'jq' to extract the date from the GitHub API's output:
#
# curl -H 'Authorization: token <TOKEN>' \
# -H 'Accept: application/vnd.github.v3.raw' \
# https://api.github.com/repos/canonical/<REPO> | jq '.created_at'

copyright = '%s, %s' % (datetime.date.today().year, author)

## Open Graph configuration - defines what is displayed in the website preview
Expand Down

0 comments on commit 29f9214

Please sign in to comment.