{"id":13554373,"url":"https://github.com/vuepress/vuepress-plugin-clean-urls","last_synced_at":"2025-04-03T06:31:36.643Z","repository":{"id":66009265,"uuid":"175740182","full_name":"vuepress/vuepress-plugin-clean-urls","owner":"vuepress","description":":droplet: Use clean urls in VuePress.","archived":true,"fork":false,"pushed_at":"2019-11-07T07:48:54.000Z","size":74,"stargazers_count":6,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-04T02:32:51.488Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://vuepress.github.io/plugins/clean-urls.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vuepress.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-03-15T03:13:08.000Z","updated_at":"2023-10-09T17:40:34.000Z","dependencies_parsed_at":"2024-01-22T08:04:42.560Z","dependency_job_id":null,"html_url":"https://github.com/vuepress/vuepress-plugin-clean-urls","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuepress%2Fvuepress-plugin-clean-urls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuepress%2Fvuepress-plugin-clean-urls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuepress%2Fvuepress-plugin-clean-urls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuepress%2Fvuepress-plugin-clean-urls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vuepress","download_url":"https://codeload.github.com/vuepress/vuepress-plugin-clean-urls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246948059,"owners_count":20859370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:02:46.286Z","updated_at":"2025-04-03T06:31:36.365Z","avatar_url":"https://github.com/vuepress.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"readme":"# [vuepress-plugin-clean-urls](https://vuepress.github.io/plugins/clean-urls.html)\n\n\u003e Migrated to [vuepress-community](https://github.com/vuepress/vuepress-community)\n\n[![npm](https://img.shields.io/npm/v/vuepress-plugin-clean-urls.svg)](https://www.npmjs.com/package/vuepress-plugin-clean-urls)\n\nA [VuePress](https://vuepress.vuejs.org/) plugin that provides support for clean urls.\n\n## Caveats\n\nThis plugin will always work on your dev server, but VuePress **does not have the right** to modify server identification. If you want your URLs to follow a certain pattern (e.g. `/routing` instead of `/routing.html` or `routing/`), you should make sure that your server would treat it as an HTML. This means that you may need to configure your server specifically.\n\n**References:**\n\n- For Netify users: [https://www.netlify.com/docs/redirects/#trailing-slash](https://www.netlify.com/docs/redirects/#trailing-slash).\n- For Surge users: [https://surge.sh/help/using-clean-urls-automatically](https://surge.sh/help/using-clean-urls-automatically).\n\n## Options\n\n### normalSuffix\n\n- **type:** `string`\n- **default:** `''`\n\nThe suffix for normal pages. For example, `foo/bar.md` will become:\n\n- `foo/bar.html` by default (without this plugin)\n- `foo/bar/` (with `normalSuffix` set to `'/'`)\n- `foo/bar` (with `normalSuffix` set to `''`)\n\n### indexSuffix\n\n- **type:** `string`\n- **default:** `'/'`\n\nThe suffix for index pages. For example, `foo/index.md` will become:\n\n- `foo/` by default (without this plugin)\n- `foo` (with `indexSuffix` set to `''`)\n- `foo/index.html` (with `indexSuffix` set to `'/index.html'`)\n\n**tip:** An index page is a page with a file name of `index.md` or `readme.md` (case insensitive).\n\n### notFoundPath\n\n- **type:** `string`\n- **default:** `'/404.html'`\n\nURL for \"404 not found\" page.\n\n## Contribution\n\nContribution Welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvuepress%2Fvuepress-plugin-clean-urls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvuepress%2Fvuepress-plugin-clean-urls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvuepress%2Fvuepress-plugin-clean-urls/lists"}