Spit out a diff as a more readable HTML page!
I made this because I wanted to generate a human readable diff for changes made to the Stellaris game folder so I could update my mods.
I'm not a python expert by any means, so I thought this would be a good exercise to get more used to it.
python diff_humaniser.py DEFAULT <from_version> <to_version> <path_to_git_repo> [repository_name] [from_revision] [to_revision]
python diff_humaniser.py PRE-DIFF <from_version> <to_version> <path_to_diff_file>
Make sure to edit
footer.html but please leave some credit and link back to this repository.
[to_revision] will be replaced with
python diff_humaniser.py DEFAULT 1.1.x 1.2.x "C:/Games/Steam/steamapps/common/Stellaris/" "STELLARIS"
The command above generated https://dosaki.net/stellarisdiff/1.1.x_to_1.2.x.html