This folder contains scripts that can be run to create requirement screenshots for all of the learn guide projects
To use the scripts you must set the environment LEARN_GUIDE_REPO
to point to the location of learn guide repo. It must end with a trailing slash.
The default value is "../Adafruit_Learning_System_Guides/"
, one directory above the root of this repo.
With that pointed at a learn guide repo you can run:
python3 create_requirement_images.py
It will create images in the generated_images
directory.
python3 create_requirement_images.py learn --guide [Learn Guide Name]
# OR
python3 create_requirement_images.py learn -g [Learn Guide Name]
The help command will list all possible commands and arguments.
python3 create_requirement_images.py --help