Skip to content

Commit c63aa7f

Browse files
committed
move out of subdirectory
1 parent 1f236f8 commit c63aa7f

39 files changed

+23
-59
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33
# SPDX-License-Identifier: MIT
44

55
__pycache__
6-
.idea/*
6+
latest_bundle_data.json
7+
latest_bundle_tag.json
8+
generated_images

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,23 @@ SPDX-FileCopyrightText: 2021 foamyguy
44
SPDX-License-Identifier: MIT
55
-->
66

7-
This project will contain tools for automating the creation of CircuitPython requirement screenshots.
7+
This folder contains scripts that can be run to create requirement screenshots for all of the learn guide projects
88

9-
[html_app](html_app) is a standalone HTML/JS version of the concept that is more manual.
9+
To use the scripts you must set `LEARN_GUIDE_REPO` inside of `get_imports.py` to point to the location of learn guide repo.
1010

11-
[python_generator](python_generator) will hold scripts that generate similar images as png files with pillow.
11+
default value is `"../../Adafruit_Learning_System_Guides/"`
12+
13+
One directory above the root of this repo.
14+
15+
With that pointed at a learn guide repo you can run:
16+
17+
```
18+
python get_bundle_data.py
19+
```
20+
to download `latest_bundle_data.json`
21+
22+
Once this file is present run
23+
```
24+
python create_requirement_images.py
25+
```
26+
It will create images in the `generated_images` directory.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Copyright License. Subject to the terms and conditions of
22
Copyright [yyyy] [name of copyright owner]
33

4-
SPDX-License-Identifier: Apache-2.0
4+
SPDX-License-Identifier: Apache-2.0
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)