File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -199,20 +199,6 @@ export default defineConfig({
199
199
}
200
200
}
201
201
202
- // Fallback to old logic for paths that don't have repo info
203
- const [ _ , repoName , ...rest ] = relativePath . split ( '/' )
204
- const repoNamePath = repoName ?. replace ( / \d + - / g, '' ) || ''
205
- const restPath = rest . join ( '/' )
206
- const orgName = organization || 'autumn-library' ;
207
-
208
- if ( relativePath . startsWith ( 'api/' ) ) {
209
- return `https://github.com/${ orgName } /${ repoNamePath } /edit/master/docs/api/${ restPath } ` ;
210
- }
211
-
212
- if ( relativePath . startsWith ( 'products/' ) ) {
213
- return `https://github.com/${ orgName } /${ repoNamePath } /edit/master/docs/product/${ restPath } ` ;
214
- }
215
-
216
202
return ''
217
203
}
218
204
} ,
You can’t perform that action at this time.
0 commit comments