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

4
.vuepress/.dir-locals.el Normal file
View File

@@ -0,0 +1,4 @@
;;; Directory Local Variables -*- no-byte-compile: t -*-
;;; For more information see (info "(emacs) Directory Variables")
((typescript-mode . ((typescript-indent-level . 2))))

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',