vuejs / vitepress

Vite & Vue powered static site generator.
https://vitepress.dev
MIT License
13.25k stars 2.14k forks source link

Docs: /guide path is missing (error 404) #4233

Closed tassoman closed 1 month ago

tassoman commented 2 months ago

Describe the bug

Docs navigation is inconsistent. While reading Guide, you land at https://vitepress.dev/guide/what-is-vitepress. Opening https://vitepress.dev/guide brings to error 404 page.

Reproduction

  1. Browse: homepage
  2. Click link: Guide
  3. See: What is vitepress
  4. Edit url: "/guide/what-is-vitepress" to "/guide"
  5. See: Error 404

Expected behavior

Parent container routing page should be a container of chapters

Each chapter should have an excerpt of the content, its page links either.

If "it's too much", /guide should simply redirect to default landing page /guide/what-is-vitepress

System Info

Not a software bug, docs navigation related.

Additional context

No response

Validations