This repository contains the source code for the website Godot Syntax Themes Demonstration1, which is a live demonstration of all themes currently available in the godot-syntax-themes repository!
- Python 3.x with GitPython
- local web server
This project relies on the contents of the godot-syntax-themes repository. For this purpose, we've got an importer written in python to fetch the latest version of all .tet files, translate them into CSS styles, save them as ./src/themes.css and generate a modified copy of ./src/dry_index.html as ./src/index.html, adding <option> tags for the themes to select from.
You must run the importer at least once in order to generate index.html and themes.css.
Warning
Any changes to index.html will be ignored by git on purpose as this is a generated file by the importer. Make sure to always work on and commit dry_index.html instead.
To start the importer, run:
python ./import/importer.pyTo just (re)build index.html and themes.css, run:
python ./import/importer.py buildFootnotes
-
very catchy name, I know. 😜 ↩