feat(lib): change config file from json to toml (#224)

This PR introduces a **BREAKING CHANGE**: the general config file is now written in the TOML format. Keys are also placed under a shared subsection. Previous config files will be ignore.

Migration from the previous format can be easily performed with `manim-slides init` and copy/pasting the key codes if necessary.
This commit is contained in:
Jérome Eertmans
2023-07-24 14:46:15 +02:00
committed by GitHub
parent 529a6c534f
commit a7719dbb8b
7 changed files with 117 additions and 50 deletions

View File

@ -1,3 +1,3 @@
FOLDER_PATH: str = "./slides"
CONFIG_PATH: str = ".manim-slides.json"
CONFIG_PATH: str = ".manim-slides.toml"
FFMPEG_BIN: str = "ffmpeg"