We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 058d7b7 + c5b125c commit efedc1cCopy full SHA for efedc1c
1 file changed
apps/docs/docusaurus.config.ts
@@ -41,7 +41,12 @@ const config: Config = {
41
{
42
docs: {
43
sidebarPath: './sidebars.ts',
44
- editUrl: (params) => `https://github.com/NaverPayDev/pie/tree/main/packages/${params.docPath}`,
+ editUrl: (params) => {
45
+ const docPath = params.docPath.startsWith('@naverpay/')
46
+ ? params.docPath.replace('@naverpay/', '')
47
+ : params.docPath
48
+ return `https://github.com/NaverPayDev/pie/blob/main/packages/${docPath}`
49
+ },
50
},
51
blog: {
52
showReadingTime: true,
0 commit comments