docs icon indicating copy to clipboard operation
docs copied to clipboard

No consistency for relative image link between md source URL and docs target URL

Open leemyongpakvn opened this issue 1 year ago • 2 comments

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.

leemyongpakvn avatar Aug 03 '22 10:08 leemyongpakvn

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:

  1. Page Resource file in the same folder of .md file
  2. Global Resource file in the /assests folder

leemyongpakvn avatar Aug 07 '22 03:08 leemyongpakvn

Maybe ./ can solve this problem too.

leemyongpakvn avatar Sep 08 '22 01:09 leemyongpakvn