BUG:Broken image link in Manual Setup Guide (serverRunning.png returns 404)
Is there an existing issue for this?
- [x] I have searched the existing issues
What happened?
Description
The screenshot showing the FastAPI dev server running is broken on the Manual Setup Guide page of the documentation site.
Page: https://aossie-org.github.io/PictoPy/Manual_Setup_Guide/
Root Cause
The image file exists in the repo at docs/assets/screenshots/serverRunning.png, but the markdown source references it with this URL: https://aossie-org.github.io/docs/assets/screenshots/serverRunning.png
Since GitHub Pages publishes the /docs folder as the site root, the docs/ segment should not appear in the published URL, and the repo name (PictoPy) needs to be the path prefix instead. The correct URL should be:
Steps to Reproduce
- Visit https://aossie-org.github.io/PictoPy/Manual_Setup_Guide/
- Scroll to the "Python (FastAPI) Backend Setup Steps" section
- The "server running" screenshot fails to load (404)
Suggested Fix
Update the image URL in the source markdown file (likely docs/Manual_Setup_Guide.md) to either:
- The corrected absolute URL above, or
- A relative path (e.g.
../assets/screenshots/serverRunning.png), which is more robust against future domain/path changes
Additional Context
I'd like to work on this fix if it's confirmed — happy to open a PR.
Record
- [x] I agree to follow this project's Code of Conduct
👋 Thanks for opening this issue! The maintainers will review it shortly. Till then, do not open any PR. This is a strict rule we like to follow around here :)
See comment https://github.com/AOSSIE-Org/PictoPy/issues/1359#issuecomment-4881591937
@Mansi2007275, the screenshot does load correctly when viewing the documentation directly on GitHub.
And yes, I agree that the image returns a 404 on the docs website. One thing you would be required to keep in mind Is that the image should be visible within both, the doc's hosted website and GitHub docs as well.
Hi @rohan-pandeyy and maintainers! 👋
I would like to work on this issue if it is still open.
The fix is straightforward:
In docs/Manual_Setup_Guide.md, changing the image path from /docs/assets/screenshots/serverRunning.png to the relative path assets/screenshots/serverRunning.png will allow it to resolve correctly on both the hosted MkDocs website (since docs/ is the root) and the GitHub source view.
Could you please assign this to me? I can open a PR with the fix right away.