mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-12 10:47:05 +02:00
Make the copyright year dynamic for the documentation
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user