Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 88A92200CFC for ; Wed, 13 Sep 2017 13:11:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8752C1609CA; Wed, 13 Sep 2017 11:11:39 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D749B1609C9 for ; Wed, 13 Sep 2017 13:11:38 +0200 (CEST) Received: (qmail 95907 invoked by uid 500); 13 Sep 2017 11:11:37 -0000 Mailing-List: contact commits-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flume.apache.org Delivered-To: mailing list commits@flume.apache.org Received: (qmail 95856 invoked by uid 99); 13 Sep 2017 11:11:37 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Sep 2017 11:11:37 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id AEB02F5743; Wed, 13 Sep 2017 11:11:36 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: denes@apache.org To: commits@flume.apache.org Date: Wed, 13 Sep 2017 11:11:37 -0000 Message-Id: <44c7478101da4a4fb62608b28eb7de25@git.apache.org> In-Reply-To: <529aab924e7c4b55b3ff8a7f8f2506b1@git.apache.org> References: <529aab924e7c4b55b3ff8a7f8f2506b1@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/2] flume git commit: Set the copyright date dynamically in documentation footer archived-at: Wed, 13 Sep 2017 11:11:39 -0000 Set the copyright date dynamically in documentation footer Display "2009-current year" instead of the hardcoded "2009-2012". This closes #171 Reviewers: Ferenc Szabo (Denes Arvay via Denes Arvay) Project: http://git-wip-us.apache.org/repos/asf/flume/repo Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/b359f32e Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/b359f32e Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/b359f32e Branch: refs/heads/trunk Commit: b359f32e324fb815c0506f3bad016187a0b7765e Parents: 1541f08 Author: Denes Arvay Authored: Tue Sep 12 17:44:13 2017 +0200 Committer: Denes Arvay Committed: Wed Sep 13 12:56:26 2017 +0200 ---------------------------------------------------------------------- flume-ng-doc/sphinx/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/b359f32e/flume-ng-doc/sphinx/conf.py ---------------------------------------------------------------------- diff --git a/flume-ng-doc/sphinx/conf.py b/flume-ng-doc/sphinx/conf.py index 97ad1df..989d32b 100644 --- a/flume-ng-doc/sphinx/conf.py +++ b/flume-ng-doc/sphinx/conf.py @@ -17,6 +17,7 @@ import sys import os +from datetime import date # eventlet/gevent should not monkey patch anything. os.environ["GEVENT_NOPATCH"] = "yes" @@ -57,7 +58,7 @@ master_doc = 'index' # General information about the project. project = 'Apache Flume' -copyright = '2009-2012 The Apache Software Foundation' +copyright = '2009-%s The Apache Software Foundation' % date.today().year keep_warnings = True