Repository navigation
Wiki: an Images page that lists every picture, and working inline icons - #106
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
@WoggleSL/review run |
There was a problem hiding this comment.
Approved by a maintainer on the review board.
Checks
- ✅ Build linux-x86_64
- ✅ Build windows-x86_64
- ❌ wiki (not required)
- ✅ changes (not required)
- ✅ codeql (actions) (not required)
- ✅ sync (not required)
- ✅ dispatch (not required)
- ✅ wiki (not required)
- ✅ changes (not required)
- ⏳ codeql (rust) (not required)
- ✅ screenshots out of date (not required)
- ✅ screenshots out of date (not required)
- ✅ Build macos-universal (not required)
- ✅ secrets (not required)
- ❌ typos (not required)
- ✅ Build flatpak-x86_64 (not required)
- ✅ fmt (not required)
- ✅ clippy (not required)
- ✅ Release (not required)
- ✅ test (not required)
- ✅ cargo-deny (not required)
- ✅ unsafe (not required)
- ✅ dependency-review (not required)
- ✅ workflows (not required)
- ✅ translations (not required)
- ✅ flag-lists (not required)
- ✅ CodeQL (not required)
Change: 2 files, +210 / -0, 1 commit(s) by @R3disme
Merges into: main without conflicts
WoggleSL Review · requested by a maintainer from the review board
|
Squash-merged into WoggleSL Review · requested by a maintainer from the review board |
|
Ran the review queue for every approved PR:
WoggleSL Review · requested by @R3disme from a comment |
The wiki editor has no file browser, so there was no way to see which pictures exist, what they look like or where they're used.
New wiki page
Images(generated by.github/scripts/wiki-images.py). For every picture in the wiki it shows:It also has a summary line, plus sections for unused and missing pictures. From the current wiki: 39 pictures, 14 retaken automatically, 3 not used (
animation.gif,banner.png,settings-keyboard.png).Broken inline icons fixed. The pages embed six app icons as
assets/*.svg(cog, menu, bolt, shield, badge, logs), but the wiki has noassets/folder, so they show as broken images. The script copies every icon the pages use from this repo into the wiki. When the redesign changes an icon, the wiki follows.Workflow
wiki-images.yml. It runs when:gollum);main;assets/*.svgor the scene list changes onmain;It pushes only when something changed. Its pushes use
GITHUB_TOKEN, which doesn't fire new wiki events, so it can't loop.Tested on a read-only clone of the current wiki:
Wiki: adds the generated
Imagespage andassets/icons through the workflow; no hand-edited pages change.