flowbite icon indicating copy to clipboard operation
flowbite copied to clipboard

Document tutorial for Django html snippets refer to images on doc site as though local, so they are not found.

Open dlparker opened this issue 2 years ago • 0 comments

Describe the bug The _base.html and index.html examples refer to images "/docs/image/logo.svg" and "/docs/images/blog/image-1.jgp". There is no step in the tutorials to install these files locally, so the references get 404s.

To Reproduce Steps to reproduce the behavior:

  1. Follow the tutorial to the point where the _base.html is in use in the index page. View the page, note that the logo is missing from the navbar, and that the server reports a 404 response.
  2. Continue the tutorial to the point where the button is added to index.html. View the page, note that the image is not displayed and the server reports a 404 response for "/docs/image/blogs/image-1.jpg".

Expected behavior The image tags to work

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Brave
  • Version: 115

Additional context When I changed the "/docs/..." refs to "https:flowbite.com/docs/..." everything worked, both image appeared. Maybe you should just do that in the docs.

dlparker avatar Aug 31 '23 00:08 dlparker