]> git.cworth.org Git - notmuch/blobdiff - doc/conf.py
doc: document (tersely) the intended behaviour of relative paths.
[notmuch] / doc / conf.py
index 94e266af5878c8590802780f23e8e8c99a42b81e..1a5c217bb91e5299fbb2bc83f4e8d19bff466490 100644 (file)
@@ -14,12 +14,12 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'notmuch'
-copyright = u'2009-2020, Carl Worth and many others'
+copyright = u'2009-2021, Carl Worth and many others'
 
 location = os.path.dirname(__file__)
 
 for pathdir in ['.', '..']:
-    version_file = os.path.join(location,pathdir,'version')
+    version_file = os.path.join(location,pathdir,'version.txt')
     if os.path.exists(version_file):
         with open(version_file,'r') as infile:
             version=infile.read().replace('\n','')