From 6f2bb3106843e05b2b79e67b43773d90cf846eb8 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Tue, 28 May 2019 14:54:36 +0200 Subject: [PATCH] Make the copyright year dynamic for the documentation --- docs/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index feb9186d5..571854e3b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -11,6 +11,7 @@ import os import re import subprocess import sys +import time from functools import partial from docutils import nodes @@ -32,7 +33,7 @@ str_version = importlib.import_module('kitty.constants').str_version # -- Project information ----------------------------------------------------- project = 'kitty' -copyright = '2018, Kovid Goyal' +copyright = time.strftime('%Y, Kovid Goyal') author = 'Kovid Goyal' building_man_pages = 'man' in sys.argv