[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 184f5ed56ed9283a0010fb87e9c0341192b950f6
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits