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 create books where there are multiple levels of subfolders in picture.
When the page of a subfolder is opened at that point the summary.md starts pointing to the URLs in wierd ways.
Steps
example
localhost:3000/folder1/page1.html is open and assume a menu entry for folder2/page1.html is suppose to be present.
at localhost:3000 the link correctly points to folder2/page1.html however when i ope localhost:3000/folder1/page1.html now the link points to localhost:3000/folder1/folder2/page1.html
so effectively the summary.md in each folder assumes that folder as base and creates links as relative. which is wrong. summary.md links are relative to root nowhere else.
Possible Solution(s)
summary.md should link urls relative to root at max to site_url nothing else.
Notes
No response
Version
mdbook v0.4.42
The text was updated successfully, but these errors were encountered:
I'm guessing you maybe have an index.hbs theme file from an older version? If so, that will need to be updated to the latest version since the navigation has changed.
Problem
I create books where there are multiple levels of subfolders in picture.
When the page of a subfolder is opened at that point the summary.md starts pointing to the URLs in wierd ways.
Steps
example
localhost:3000/folder1/page1.html is open and assume a menu entry for folder2/page1.html is suppose to be present.
at localhost:3000 the link correctly points to folder2/page1.html however when i ope localhost:3000/folder1/page1.html now the link points to localhost:3000/folder1/folder2/page1.html
so effectively the summary.md in each folder assumes that folder as base and creates links as relative. which is wrong. summary.md links are relative to root nowhere else.
Possible Solution(s)
summary.md should link urls relative to root at max to site_url nothing else.
Notes
No response
Version
The text was updated successfully, but these errors were encountered: