Make the copyright year dynamic for the documentation
This commit is contained in:
parent
abf9c4117d
commit
6f2bb31068
@ -11,6 +11,7 @@ import os
|
|||||||
import re
|
import re
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
import time
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
|
||||||
from docutils import nodes
|
from docutils import nodes
|
||||||
@ -32,7 +33,7 @@ str_version = importlib.import_module('kitty.constants').str_version
|
|||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
|
|
||||||
project = 'kitty'
|
project = 'kitty'
|
||||||
copyright = '2018, Kovid Goyal'
|
copyright = time.strftime('%Y, Kovid Goyal')
|
||||||
author = 'Kovid Goyal'
|
author = 'Kovid Goyal'
|
||||||
building_man_pages = 'man' in sys.argv
|
building_man_pages = 'man' in sys.argv
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user