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
Let's suppose I have a standalone html file in my docs folder docs/foo.html. In the menu of my website I would like to have it listed correctly:
pages:
- Home: index.md
- Foo: foo.html
While foo.html is correctly copied by mkdocs when building, it generates an incorrect link in the menu, i.e. it will point to baseurl/foo/ instead of baseurl/foo.html. It seems related to #192 and #989, but it's not exactly the same issue.
Is there any reason that mkdocs does not detect that the file ends in .html and generates a different menu entry for this? (And also removes it from the prev/next navigation).
I couldn't figure out how to make it work, any tip would be appreciated.
The text was updated successfully, but these errors were encountered:
This is being closed as a duplicate of #989. I realize the title specifically refers to "external" links, but in this comment the problem is summarized for both external and internal links. Regardless, the fix will be the same for both. This is being addressed as part of the Pages Refactor. See this comment for an overview.
Hi,
Let's suppose I have a standalone html file in my docs folder
docs/foo.html
. In the menu of my website I would like to have it listed correctly:While
foo.html
is correctly copied by mkdocs when building, it generates an incorrect link in the menu, i.e. it will point tobaseurl/foo/
instead ofbaseurl/foo.html
. It seems related to #192 and #989, but it's not exactly the same issue.Is there any reason that mkdocs does not detect that the file ends in .html and generates a different menu entry for this? (And also removes it from the prev/next navigation).
I couldn't figure out how to make it work, any tip would be appreciated.
The text was updated successfully, but these errors were encountered: