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

+3-1
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

-21
This file was deleted.

README.md

+18-3
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.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

python_generator/.gitignore

-3
This file was deleted.

python_generator/README.md

-26
This file was deleted.

python_generator/img/*.ong.license

-3
This file was deleted.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
SPDX-FileCopyrightText: 2021 Jeff Epler
22

3-
SPDX-License-Identifier: CC0-1.0
3+
SPDX-License-Identifier: CC0-1.0

0 commit comments

Comments
 (0)