docs
docs copied to clipboard
No consistency for relative image link between md source URL and docs target URL
The problem happens on a closed PR https://github.com/PrestaShop/docs/pull/1428
Due to the difference between
the md source URL /8.x/basics/installation/localhost.md
and
the live docs URL /8/basics/installation/localhost/
, the working image link on .md source img/Prestashop_1.7.8.6_release.png must be changed to ../
img/Prestashop_1.7.8.6_release.png to show on the live docs.
@kpodemski FYI This issue was reported in 2020 on stackoverflow - image shows correctly in markdown not on website and github - code showing correctly in preview, but not actual page.
More information at https://discourse.gohugo.io/t/replace-image-reference-link/35314/5. Due to https://gohugo.io/content-management/image-processing/, Hugo only recognize 2 type of Image Resources by default:
- Page Resource file in the same folder of .md file
- Global Resource file in the /assests folder
Maybe ./ can solve this problem too.