(readme, path)
| 102 | |
| 103 | |
| 104 | def generate_index(readme, path): |
| 105 | if not exists(path): |
| 106 | print("Skipping", path, "since it doesn't exist yet") |
| 107 | return |
| 108 | |
| 109 | dir_contents = listdir(path) |
| 110 | dir_contents.sort(key=lambda s: s.lower()) |
| 111 | |
| 112 | for name in dir_contents: |
| 113 | try: |
| 114 | # empty directories or other such issues get skipped over |
| 115 | generate_entry(readme, join(path, name)) |
| 116 | except: |
| 117 | pass |
| 118 | |
| 119 | |
| 120 | def add_presentation(path): |
no test coverage detected