Make the copyright year dynamic for the documentation

This commit is contained in:
Luflosi 2019-05-28 14:54:36 +02:00
parent abf9c4117d
commit 6f2bb31068
No known key found for this signature in database
GPG Key ID: 14140F703B7D8362

View File

@ -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