File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ const config = {
48
48
plugins : [
49
49
"plugin-image-zoom" ,
50
50
[
51
- path . resolve ( __dirname , ' plugins/generate-help-json' ) ,
51
+ path . resolve ( __dirname , " plugins/generate-help-json" ) ,
52
52
{
53
- docsPath : ' docs-sqlacc/docs' ,
54
- outputPath : ' sqlacc'
53
+ docsPath : " docs-sqlacc/docs" ,
54
+ outputPath : " sqlacc" ,
55
55
} ,
56
56
] ,
57
57
function aliasPlugin ( context , options ) {
@@ -80,11 +80,18 @@ const config = {
80
80
[
81
81
"@docusaurus/plugin-client-redirects" ,
82
82
{
83
+ redirects : [
84
+ {
85
+ from : "/sqlpay/category/hrms" ,
86
+ to : "/sqlpay/category/sql-hrms" ,
87
+ } ,
88
+ ] ,
83
89
createRedirects ( existingPath ) {
84
90
if ( existingPath . includes ( "/sqlacc" ) ) {
85
- // // Redirect from /X to /sqlacc/X
91
+ // Redirect from /X to /sqlacc/X
86
92
return existingPath . replace ( "/sqlacc" , "" ) ;
87
93
}
94
+
88
95
return undefined ; // Return a falsy value: no redirect created
89
96
} ,
90
97
} ,
You can’t perform that action at this time.
0 commit comments