Broken Next Page Link on Welcome Page of Docs
aviflombaum opened this issue · comments
Bug Report
The next page link on the first page of the documentation, Welcome, links to the Welcome page (itself), as opposed to the correct next page, which would be Setup
To Reproduce
Go to Welcome and see what happens on the Next Page click.
Expected behavior
Going to the next page, Setup.
Screenshots or reproduction
I wish I knew more about vitepress so I could figure out how to fix it but looked around and nothing obvious jumped out.
<3
Hey @aviflombaum, thank you for reporting this!
Now that you mentioned it, I think I also looked into this in the past and haven't found a simple solution. It probably has to do with the different sections the pages are in, but I'm also not sure.
It might be worth to update vitepress and see if it resolves itself.
Turns out this related to the how Vitepress translates the file hello-world/index.md
to the path /hello-world/
.
Referencing /hello-world/
instead of /hello-world/index
in the Vitepress config resolves this issue. See 3fca175