Skip to content

Commit

Permalink
add plugin to redirect and generate id for model and deck
Browse files Browse the repository at this point in the history
  • Loading branch information
krmanik committed Feb 10, 2024
1 parent 743ac1d commit 9cd719b
Show file tree
Hide file tree
Showing 5 changed files with 1,308 additions and 21,134 deletions.
22 changes: 20 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,27 @@ const config = {
},
}),


plugins: [
"custom-docusaurus-plugin"
"custom-docusaurus-plugin",
[
'@docusaurus/plugin-client-redirects',
{
redirects: [
{
to: '/data/cedict_ts.zip',
from: '/create/data/cedict_ts.zip',
},
{
to: '/data/cedict.idx',
from: '/create/data/cedict.idx'
},
{
to: '/data/grammarKeywordsMin.json',
from: '/create/data/grammarKeywordsMin.json'
},
],
},
],
],

};
Expand Down
Loading

0 comments on commit 9cd719b

Please sign in to comment.