feat: remove HTML extensions from links

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
This commit is contained in:
2023-02-01 00:48:09 +01:00
parent 7ec6405cc2
commit 24344152c7
4 changed files with 167 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
import { defineUserConfig, defaultTheme } from 'vuepress';
import { removeHtmlExtensionPlugin } from 'vuepress-plugin-remove-html-extension';
export default defineUserConfig({
lang: 'fr-FR',
@@ -67,6 +68,7 @@ export default defineUserConfig({
linkify: true,
typographer: true,
},
plugins: [removeHtmlExtensionPlugin()],
locales: {
'/': {
lang: 'fr-FR',