diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-02-23 16:35:28 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-05-21 02:45:14 +0200 |
| commit | 94ee13c22452922f25703b7468ae11b4e40d09aa (patch) | |
| tree | f09603060a067806a2caa53d42fa0f89adbeef97 /Documentation | |
| parent | b1c84ac1855eb4b8b15348e51ff8dd0fc26c607d (diff) | |
| download | sparse-dev-94ee13c22452922f25703b7468ae11b4e40d09aa.tar.gz | |
doc: automatically set the copyright date
Sphinx allow to set the copyright date; I would hate to have
to update this every year, so let generate it automatically.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/conf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py index eb576bc0..082cf61a 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -17,6 +17,7 @@ import os import sys +import datetime # -- General configuration ------------------------------------------------ @@ -47,7 +48,7 @@ master_doc = 'index' # General information about the project. project = 'sparse' -copyright = '2017' +copyright = '2003 - ' + str(datetime.datetime.now().year) author = "sparse's development community" # The version info for the project you're documenting, acts as replacement for |
