Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cleanUrls): CleanUrls feature - No .html in navigation bar #477

Closed
wants to merge 3 commits into from

Conversation

georges-gomes
Copy link
Collaborator

@georges-gomes georges-gomes commented Dec 28, 2021

This feature is meant to be working with SPA and MPA mode so it's a little bit bigger than just rename the browser location.

  • New option: cleanUrls (default false)
  • Generates /foo.md -> /foo/index.html (This works best for MPA mode with most static site hosting services)
  • Internal links in .md files are not transformed to .html
  • When on SPA mode, the client router doesn't rename /foo into /foo.html anymore.

First PR on Vitepress so please send comments, I will adjust.

@georges-gomes
Copy link
Collaborator Author

georges-gomes commented Dec 29, 2021

Fixes #219

@yyx990803
Copy link
Member

Hey, this seems to now have some big conflicts due to merging #465 - could you resolve the conflict?

@yyx990803 yyx990803 added the enhancement New feature or request label Jan 6, 2022
@georges-gomes
Copy link
Collaborator Author

Thanks @yyx990803
Replaced by #488

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants