File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515import sys
1616import os
1717import re
18+ from datetime import datetime
1819
1920# If extensions (or modules to document with autodoc) are in another directory,
2021# add these directories to sys.path here. If the directory is relative to the
5556
5657# General information about the project.
5758project = u'Syncthing'
58- copyright = u'2014-2019, The Syncthing Authors'
59+ year = datetime .now ().year
60+ copyright = f'2014-{ year } , The Syncthing Authors'
5961
6062# The version info for the project you're documenting, acts as replacement for
6163# |version| and |release|, also used in various other places throughout the
6264# built documents.
6365#
6466# The full version, including alpha/beta/rc tags.
6567
66- release = 'v1 '
68+ release = 'v2 '
6769try :
6870 release = open ('RELEASE' , 'r' ).read ().strip ()
6971except FileNotFoundError :
You can’t perform that action at this time.
0 commit comments