Files
cariflex/tools/EVerest-main/cmake/trailbook-ext-everest/process_index_template.py.in
Eric F d398a6ced2 Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
2026-06-08 00:38:27 -04:00

15 lines
307 B
Python

import jinja2
template_file = r"@INDEX_TEMPLATE_FILE@"
output_file = r"@INDEX_FILE@"
substitutions = {
"HEADLINE": "@CURRENT_FOLDER_NAME@",
}
with open(template_file, 'r') as f:
template = jinja2.Template(f.read())
with open(output_file, 'w') as f:
f.write(template.render(**substitutions))