mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-05 14:42:31 +00:00
* Spanish translation and minor fixes * Rounding movement measurements * Adding linguistics option to campaign settings * Removing NPC stuff from the json options * Saving Mythras v2 progress * Modify mythras sheet.json for new options * stash * Restored tranlastions and all but mook css * Automation script added to help building Mythras sheets * Autocalc migration up to skills, Mythras * sheetwork autocalc for standard skills * Auto calc up to passions * Fix tenacity * Finish migrating skills to shett workers * Finished skills auto calc * Half done with compat tab * Stash work up to mostly finish mook skills * Fixed percent symbol on Athletics mook btn * Added up to psionic powers for mooks and added collapse to magic sections * Stash mook sup to animism * more stashed edits * Stash commits * v2 Mythras * A few edits to Mythras changelog, typos and spelling * Style adjustments for Firefox
15 lines
340 B
Python
Executable File
15 lines
340 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
from jinja2 import Environment, FileSystemLoader, select_autoescape
|
|
|
|
env = Environment(
|
|
loader=FileSystemLoader('./templates'),
|
|
autoescape=select_autoescape(['html', 'xml'])
|
|
)
|
|
|
|
html_template = env.get_template('base.html')
|
|
|
|
with open('./Mythras.html', 'w') as f:
|
|
f.write(html_template.render())
|
|
f.closed
|