diff --git a/template/documentation/build.py b/template/documentation/build.py index dce1709..c1c72b7 100644 --- a/template/documentation/build.py +++ b/template/documentation/build.py @@ -23,6 +23,7 @@ import subprocess from os import getcwd import os.path assert os.path.exists(os.path.join(getcwd(), __file__)), (getcwd(), __file__) +import datetime #Readme @@ -30,6 +31,7 @@ assert os.path.exists(os.path.join(getcwd(), __file__)), (getcwd(), __file__) with open("readme.template", "r") as r: template_readme = r.read() +template_readme = template_readme.replace("", datetime.now().isoformat()) template_readme = template_readme.replace("", METADATA["name"]) template_readme = template_readme.replace("", METADATA["version"]) template_readme = template_readme.replace("", METADATA["shortName"]) diff --git a/template/documentation/readme.template b/template/documentation/readme.template index 6d633fd..f154130 100644 --- a/template/documentation/readme.template +++ b/template/documentation/readme.template @@ -1,3 +1,6 @@ + +[//]: # (Generated . Changes belong into template/documentation/readme.template) + # Program version