File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ const slugify = require('./slugify')
4
4
const preprocessMarkdown = resolve ( __dirname , 'preprocessMarkdown' )
5
5
6
6
const baseUrl = 'https://docs.btcpayserver.org'
7
+ const pageSuffix = '/'
7
8
8
9
module . exports = {
9
10
title : "BTCPay Server Docs" ,
@@ -30,8 +31,8 @@ module.exports = {
30
31
} ,
31
32
plugins : [
32
33
[ 'vuepress-plugin-clean-urls' , {
33
- normalSuffix : '/' ,
34
- indexSuffix : '/' ,
34
+ normalSuffix : pageSuffix ,
35
+ indexSuffix : pageSuffix ,
35
36
notFoundPath : '/404.html' ,
36
37
} ] ,
37
38
[ 'vuepress-plugin-code-copy' , {
@@ -49,6 +50,7 @@ module.exports = {
49
50
extendMarkdown ( md ) {
50
51
md . use ( implicitFigures )
51
52
} ,
53
+ pageSuffix,
52
54
slugify
53
55
} ,
54
56
themeConfig : {
Original file line number Diff line number Diff line change @@ -104,6 +104,3 @@ sed -ie 's$(docs/$(./$g' "$DOCS_DIR/Transmuter/README.md"
104
104
for file in " $DOCS_DIR " /Transmuter/* .md; do
105
105
update_external " $file " https://github.com/btcpayserver/btcTransmuter " $DOCS_DIR " /Transmuter/
106
106
done
107
-
108
- # Monkey patch VuePress to properly handle clean URLs
109
- sed -ie " s%, '.html%, '/%" " $BASE_DIR /node_modules/@vuepress/markdown/lib/link.js"
You can’t perform that action at this time.
0 commit comments