1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

create readmegen.py script. move jinja2 templates to templates folder

This commit is contained in:
Kelly Brazil
2021-04-04 20:28:54 -07:00
parent 4ff9952938
commit 25410d3316
5 changed files with 973 additions and 70 deletions

View File

@ -4,7 +4,7 @@ from datetime import date
import jc.cli
from jinja2 import Environment, FileSystemLoader
file_loader = FileSystemLoader('man/template')
file_loader = FileSystemLoader('templates')
env = Environment(loader=file_loader)
template = env.get_template('manpage_template')