You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2017/05/05 15:34:03 UTC

[trafficserver] branch master updated: Automatically update copyright year in docs

This is an automated email from the ASF dual-hosted git repository.

amc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  61bb97f   Automatically update copyright year in docs
61bb97f is described below

commit 61bb97f0c3e5666acdea0be5fcb038f0f1b9c467
Author: Daniel Xu <dx...@dxuuu.xyz>
AuthorDate: Fri Apr 14 22:17:23 2017 -0500

    Automatically update copyright year in docs
    
    This makes it so we don't have to worry about updating the year each
    January.
    
    I briefly looked into copyright law and I don't believe automating this
    is an issue. Not that it was an issue for the date to be outdated
    anyways.
---
 doc/conf.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/conf.py b/doc/conf.py
index ad7c8bc..992b00f 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -28,6 +28,7 @@
 # serve to show the default.
 
 import sys, os
+from datetime import date
 from sphinx import version_info
 
 # If extensions (or modules to document with autodoc) are in another directory,
@@ -81,7 +82,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'Apache Traffic Server'
-copyright = u'2016, dev@trafficserver.apache.org'
+copyright = u'{}, dev@trafficserver.apache.org'.format(date.today().year)
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].