In this folder are files used to generate record pages
.
- make_site.py
- google_drive.py
- local_images.py
- consts.py
- category_generation.py
- csv_merge.py
- customizable-variables.yml
This script is used to generate record pages
from the given CSV.
The script is used to used to write the URL to images hosted on Google Drive for a associated record page
. User will need to ensure that the CSV is in the _import folder, and that the name of CSV matches the value of the key google_drive_csv_file
in the customizable-variables.yaml file.
This script is used to write the paths to images for a associated record page
.
This Python file contains constants that will be used by the other scripts.
This script is used to generate the category for record pages
. The generate_category
method append to the categories
list based on the value of the record_id
, modify the if condition inside the method to your requirements.
A python script written in Python3 that can be used to merge two CSV file based on a key.
This YAML file contains variables that will be used by the above scripts. To customise the generated record pages
, please adjust the variables to your needs.