You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On GitHub this renders as a broken link because it points to the author's local desktop path. Day41-55/res/django-admin-login.png does not exist in the repository (HTTP 404).
Describe the bug
Several markdown files in
Python-100-Daysreference images that do not load when browsing the repository on GitHub:Absolute local macOS path committed into markdown:
Day46-60/47.深入模型.md(line 292):Day41-55/res/django-admin-login.pngdoes not exist in the repository (HTTP 404).Missing in-repo assets:
Day01-20/11.常用数据结构之字符串.md(line 5):<img src="res/day11/eniac.jpg" style="zoom:50%;">Target
Day01-20/res/day11/eniac.jpgreturns HTTP 404 (not in repo tree).Day36-45/45.Hive实战.md:References
res/QQ20220708-235815@2x.pngandres/QQ20220707-195545@2x.png— neither file exists inDay36-45/res/(both HTTP 404).localhostURLs referenced in public markdown:Day36-45/39.SQL详解之DQL.md:http://localhost/mypic/20211121135117.pngDay36-45/42.视图、函数和过程.md:http://localhost/mypic/20211121225327.pnglocalhostand cannot load for any reader.Steps to reproduce
curl -o /dev/null -w '%{http_code}\n' https://raw.githubusercontent.com/jackfrued/Python-100-Days/master/Day01-20/res/day11/eniac.jpg→ 404curl -o /dev/null -w '%{http_code}\n' https://raw.githubusercontent.com/jackfrued/Python-100-Days/master/Day41-55/res/django-admin-login.png→ 404Suggested fix
Day46-60/47.深入模型.mdand commit the missing screenshot.Day01-20/res/day11/andDay36-45/res/.http://localhost/mypic/...image URLs with the public CDN/repository URLs.Additional context
Found during a systematic documentation-rot audit of open source repositories (https://codebyaurora.com/docrot/).