File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -409,17 +409,23 @@ module.exports = {
409
409
docsBranch: ' master' ,
410
410
// defaults to false, set to true to enable
411
411
editLinks: true ,
412
+ // default value is true. Allows to hide next page links on all pages
413
+ nextLinks: false ,
414
+ // default value is true. Allows to hide prev page links on all pages
415
+ prevLinks: false ,
412
416
// custom text for edit link. Defaults to "Edit this page"
413
417
editLinkText: ' Help us improve this page!'
414
418
}
415
419
}
416
420
```
417
421
418
- You can also hide the edit link on a specific page via ` YAML front matter ` :
422
+ You can overwrite the following properties on specific pages via ` YAML front matter ` :
419
423
420
424
``` yaml
421
425
---
422
- editLink : false
426
+ editLink : false # Will overwrite 'editLinks' from themeConfig
427
+ prev : true # Will overwrite 'prevLinks' property from themeConfig
428
+ next : ./my-next-page # Will overwrite 'nextLinks' property from themeConfig
423
429
---
424
430
```
425
431
You can’t perform that action at this time.
0 commit comments