diff --git a/.gitignore b/.gitignore index 49bc425..5e0e00d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ node_modules/ web-ext-artifacts/ npm-debug.log* +# Listing images are generated; see docs/amo/README.md. +docs/amo/screenshots/ diff --git a/docs/amo/README.md b/docs/amo/README.md index b55701e..cb12359 100644 --- a/docs/amo/README.md +++ b/docs/amo/README.md @@ -60,6 +60,11 @@ prints the ZIP's path. Upload in this order, with these captions. Each image is 1280×800, the size AMO recommends, and carries no added text, as Mozilla's listing guide advises. +The images are not committed. Generate them as described under +[Regenerating the images](#regenerating-the-images); they land in +`docs/amo/screenshots/`, which git ignores, so the links below work once you +have. + | Image | Caption | |---|---| | [1-address-bar.png](screenshots/1-address-bar.png) | Type gpt and your question in the address bar. ChatGPT opens with it filled in. | @@ -75,9 +80,10 @@ Suggested caption: "Every setting on one simple page." ## Regenerating the images The images are the options page's drawings, enlarged by -[`screenshots.html`](screenshots.html), which reuses `options/options.css`. When -a drawing in `options/options.html` changes, copy the change into -`screenshots.html`, then run these from the repository root: +[`screenshots.html`](screenshots.html), which reuses `options/options.css`. They +are generated rather than committed, like the build ZIP. When a drawing in +`options/options.html` changes, copy the change into `screenshots.html`. Then, +to produce the images, run these from the repository root: ```sh python3 -m http.server 8766 --bind 127.0.0.1 & diff --git a/docs/amo/screenshots/1-address-bar.png b/docs/amo/screenshots/1-address-bar.png deleted file mode 100644 index e013af2..0000000 Binary files a/docs/amo/screenshots/1-address-bar.png and /dev/null differ diff --git a/docs/amo/screenshots/2-right-click.png b/docs/amo/screenshots/2-right-click.png deleted file mode 100644 index e873b44..0000000 Binary files a/docs/amo/screenshots/2-right-click.png and /dev/null differ diff --git a/docs/amo/screenshots/3-keyboard.png b/docs/amo/screenshots/3-keyboard.png deleted file mode 100644 index f52c986..0000000 Binary files a/docs/amo/screenshots/3-keyboard.png and /dev/null differ diff --git a/docs/amo/screenshots/4-toolbar.png b/docs/amo/screenshots/4-toolbar.png deleted file mode 100644 index 2d7cf45..0000000 Binary files a/docs/amo/screenshots/4-toolbar.png and /dev/null differ diff --git a/docs/amo/screenshots/5-advanced-menu.png b/docs/amo/screenshots/5-advanced-menu.png deleted file mode 100644 index 0e568e4..0000000 Binary files a/docs/amo/screenshots/5-advanced-menu.png and /dev/null differ diff --git a/docs/superpowers/specs/2026-10-18-amo-listing-design.md b/docs/superpowers/specs/2026-10-18-amo-listing-design.md index c6055de..998326a 100644 --- a/docs/superpowers/specs/2026-10-18-amo-listing-design.md +++ b/docs/superpowers/specs/2026-10-18-amo-listing-design.md @@ -1,7 +1,8 @@ # Add-ons listing for 1.3 Status: implemented on `docs/24-amo-listing-add-screenshots-and-a` (#24). The -paste-ready text, captions, and images are in [`docs/amo/`](../../amo/README.md). +paste-ready text and captions are in [`docs/amo/`](../../amo/README.md), along +with the page that renders the images. ## Problem @@ -46,6 +47,8 @@ use the extension. upload order, and how to regenerate the images. - `docs/amo/screenshots.html`: the drawing markup at 1280×800, one image per `#fragment`, styled by `options/options.css`. -- `docs/amo/screenshots/*.png`: the five rendered images. +- `docs/amo/screenshots/*.png`: the five rendered images. They are generated + and git-ignored rather than committed, so the repository carries no binaries + and needs no Git LFS. The command to produce them is in the README. `docs/` is excluded from the extension package, so none of this ships to users.