From 0dc0bcb4adab2bab8d3b63ff2cc0ca0933c3f0ec Mon Sep 17 00:00:00 2001 From: yihong0618 Date: Tue, 21 Feb 2023 19:18:03 +0800 Subject: [PATCH] fix: copyright year --- doc/conf.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 0ac53f0f..6c6fa751 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -6,12 +6,14 @@ # -- Path setup -------------------------------------------------------------- +import os +import sys + # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # -import os -import sys +from datetime import datetime sys.path.insert(0, os.path.abspath("../greenplumpython")) sys.path.append(os.path.abspath("./extensions")) @@ -21,7 +23,7 @@ # -- Project information ----------------------------------------------------- project = "GreenplumPython" -copyright = "2022, VMware" +copyright = f"{datetime.now().year}, VMware" author = "VMware"