[tor-commits] [bridgedb/master] Make copyright year in Sphinx documentation builds automatic.

isis at torproject.org isis at torproject.org
Sat Mar 21 02:03:05 UTC 2015


commit 184f5ed56ed9283a0010fb87e9c0341192b950f6
Author: Isis Lovecruft <isis at torproject.org>
Date:   Sat Mar 21 00:52:34 2015 +0000

    Make copyright year in Sphinx documentation builds automatic.
---
 doc/sphinx/source/conf.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/sphinx/source/conf.py b/doc/sphinx/source/conf.py
index 2c304fe..ac8ce2d 100644
--- a/doc/sphinx/source/conf.py
+++ b/doc/sphinx/source/conf.py
@@ -126,7 +126,9 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'BridgeDB'
-copyright = u'2014, The Tor Project, Inc'
+
+from datetime import datetime
+copyright = u'%s, The Tor Project, Inc' % datetime.now().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





More information about the tor-commits mailing list