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
I'm experiencing an issue with my mkdocs project where images are not displaying correctly when I switch the language from the default (English) to Vietnamese. The problem arises because the URL adds a "vi" prefix, causing the image paths to break. Here are the details of the issue:
Steps to Reproduce:
Start the mkdocs serve command.
Access the default English version at: http://127.0.0.1:8000/ (images display correctly).
Switch the language to Vietnamese.
Access the Vietnamese version at: http://127.0.0.1:8000/vi (images are broken).
Expected Behavior:
Images should display correctly in both the default (English) and Vietnamese versions of the site.
Actual Behavior:
When switching to Vietnamese, the URL prefix "vi" is added, and images do not display because the path does not contain "vi/assets/images."
The text was updated successfully, but these errors were encountered:
I'm experiencing an issue with my mkdocs project where images are not displaying correctly when I switch the language from the default (English) to Vietnamese. The problem arises because the URL adds a "vi" prefix, causing the image paths to break. Here are the details of the issue:
Steps to Reproduce:
Start the mkdocs serve command.
Access the default English version at: http://127.0.0.1:8000/ (images display correctly).
Switch the language to Vietnamese.
Access the Vietnamese version at: http://127.0.0.1:8000/vi (images are broken).
Expected Behavior:
Images should display correctly in both the default (English) and Vietnamese versions of the site.
Actual Behavior:
When switching to Vietnamese, the URL prefix "vi" is added, and images do not display because the path does not contain "vi/assets/images."
The text was updated successfully, but these errors were encountered: