An experimental attempt to extract Python code from init x python in ... blocks
in .rpy scripts of Monika After Story.
See doc/pages for rendered Markdown docs. Classes are currently unsupported, but are being worked on.
Run ./install_renpy.sh script, it will download and extract RenPy SDK. It uses
RenPy 8+ (nightly build), but it seems to work just fine.
After it completes you'll have renpy directory. Do not rename it.
Run the following command in your terminal:
git clone https://github.com/Monika-After-Story/MonikaModDev masMake sure your target directory is mas. Don't change that name.
Run ./extract_python.sh script (do not run extract_python.py, mind the .py);
it will only start if first hardlinked inside renpy directory, where RenPy SDK is.
After it completes, you'll have pysrc directory with init python scripts compiled
into <store name>.py Python files.
Run ./extract_docs.py script when you've done all previous steps.
After it completes, new/updated doc .json files will be placed in doc/json directory.
Run ./generate_markdown.py script when you've done all previous steps.
After it completes, new/updated doc .md files will be placed in doc/pages directory.