diff --git a/compiler/datasheet/add_db.py b/compiler/datasheet/add_db.py new file mode 100644 index 00000000..1df3cf7b --- /dev/null +++ b/compiler/datasheet/add_db.py @@ -0,0 +1,34 @@ +from pathlib import Path +import glob +import os + +# This is the path to the directory you would like to search +# This directory is searched recursively for .html files + +path_to_files = '../temp/' + + +def get_file_tree(path): + return list(Path(path).rglob("*.html")) + + +def parse_html(file, db): + start_tag = 'Deliverables
| Type | Description | Link |
|---|---|---|
| .db | Compiled .lib file | '+str(os.path.basename(db))+' |