[Docs] Stop copying project screenshots into docs/public; import them from project dirs
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- build-system, documentation
Research direction
Start by reading the docs build configuration and the project manifest issue referenced in the body; inspect docs/public/imgs/ and the listed project image directories to trace current image references. The proposed Astro glob or integration and Vercel file access need to be worked out across projects. Done when docs/public/imgs is removed, duplicate image blobs are gone, and every documentation page still displays its images.
Written by the indexing model from the issue text.
Description
Summary
Every docs image is a byte-identical copy of a file inside a project folder (31 duplicated blobs, ~37 MB in the working tree and deploy). The copies have already drifted (renumbered fractal-0..8 vs fractal-1..9) and some were never copied (Lorenz, Mandelbrot explorer -> broken images).
Location
docs/public/imgs/Sorting_algorithms_Visualization/preview/gif/Mandlebrot/Fractal-gh/screenshots/Unique_Algorithms/Quine-McCluskey/imgs/
Evidence
$ git ls-files -s | awk '{print $2}' | sort | uniq -d | wc -l
32
7e909fd3 12541140 Sorting_algorithms_Visualization/preview/gif/1.gif
7e909fd3 12541140 docs/public/imgs/sorting_algorithms/1.gif
9ff7b9b3 375360 Mandlebrot/Fractal-gh/screenshots/fractal-1.jpg
9ff7b9b3 375360 docs/public/imgs/fractal_gh/fractal-0.jpg
Expected
Each image exists once in the repo (next to its project) and the docs build imports it.
Proposed fix
Add a media/screenshots list to each project's manifest (see the project.yaml issue) and resolve those paths at build time with import.meta.glob('../../**/screenshots/*.{png,jpg}') or a small Astro integration that copies/optimises them; then delete docs/public/imgs. Configure Vercel's root/includeFiles so files outside docs/ are available to the build.
Acceptance criteria
-
docs/public/imgsremoved - No duplicated blobs between
docs/and project dirs - All pages still show their images
Repository audit, November 2026 · Phase 7 · Docs platform · evidence: reproduced · ref platform-010
Generated by Claude Code
- Dominant language
- C++
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ibra-kdbra/Math-Problems
-
area: security-algorithms priority: P1 size: XS type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
ibra-kdbra/Math-Problems#417 ·
-
area: math-chaos priority: P3 size: S type: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ibra-kdbra/Math-Problems#397 ·
-
area: docs-site good first issue priority: P3 size: XS type: chore
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ibra-kdbra/Math-Problems#379 ·
-
area: docs-site good first issue priority: P3 size: XS type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ibra-kdbra/Math-Problems#378 ·
-
area: docs-site good first issue priority: P2 size: XS type: chore
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ibra-kdbra/Math-Problems#367 ·
All issues in ibra-kdbra/Math-Problems
Similar issues
-
TransformInteract: a circle drag through the centre sets Scale to its minimum, which can't grow backOpendifficulty:easy prio:low type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NatronGitHub/openfx-supportext#311 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CachyOS/packageinstaller#211 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
OpenEmu-Silicon/OpenEmu-Silicon#920 · 1 comment ·
Maintainers usually reply within 1 day
-
Good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 65/100