-
Notifications
You must be signed in to change notification settings - Fork 32
Auto updates for year, version and release (Sphinx) #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #76 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 13 13
Lines 822 822
=========================================
Hits 822 822 Continue to review full report at Codecov.
|
docs/source/conf.py
Outdated
@@ -55,17 +57,17 @@ | |||
|
|||
# General information about the project. | |||
project = u'rfc3986' | |||
copyright = u'2017, Ian Stapleton Cordasco' | |||
copyright = u'{}, Ian Stapleton Cordasco'.format(datetime.now().year) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The way copyright works, you only really need the start year
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. I'm not a copyright expert obviously ;-)
I was just trying to make the documentation look more recent.
Maybe this is an option?
copyright = u'2017-{}, Ian Stapleton Cordasco'.format(datetime.now().year)
Or leave it as it is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please just leave this as it was. The range isn't necessary as I understand it either.
This reverts commit 40a3b91.
The documentation on Read the Docs says "Copyright 2017" and version "1.0.0".
These commits will help to keep them up to date.