File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
// .vuepress/config.js
2
2
3
3
const DEPLOY_DOMAIN = 'https://docs.ipfs.io'
4
+ const pageSuffix = '/'
4
5
5
6
module . exports = {
6
7
base : '/' ,
@@ -13,6 +14,7 @@ module.exports = {
13
14
}
14
15
} ,
15
16
markdown : {
17
+ pageSuffix,
16
18
extendMarkdown : md => {
17
19
md . set ( {
18
20
breaks : true
@@ -21,8 +23,8 @@ module.exports = {
21
23
md . use ( require ( 'markdown-it-footnote' ) )
22
24
md . use ( require ( 'markdown-it-task-lists' ) )
23
25
md . use ( require ( 'markdown-it-deflist' ) ) ,
24
- md . use ( require ( 'markdown-it-imsize' ) ) ,
25
- md . use ( require ( 'markdown-it-image-lazy-loading' ) )
26
+ md . use ( require ( 'markdown-it-imsize' ) ) ,
27
+ md . use ( require ( 'markdown-it-image-lazy-loading' ) )
26
28
}
27
29
} ,
28
30
themeConfig : {
@@ -422,8 +424,8 @@ module.exports = {
422
424
[
423
425
'vuepress-plugin-clean-urls' ,
424
426
{
425
- normalSuffix : '/' ,
426
- indexSuffix : '/' ,
427
+ normalSuffix : pageSuffix ,
428
+ indexSuffix : pageSuffix ,
427
429
notFoundPath : '/404/'
428
430
}
429
431
] ,
You can’t perform that action at this time.
0 commit comments