Skip to content

Commit 496bc27

Browse files
committed
Nicer URL
1 parent fa4465b commit 496bc27

File tree

4 files changed

+37
-0
lines changed

4 files changed

+37
-0
lines changed
File renamed without changes.

docusaurus.config.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,17 @@ const apiChangelogPlugins = specs
113113
sidebarPath: require.resolve('./sidebars.js'),
114114
},
115115
],
116+
[
117+
'@docusaurus/plugin-client-redirects',
118+
{
119+
redirects: [
120+
{
121+
from: '/docs/entities/schemas-list',
122+
to: '/docs/entities/core-entities',
123+
},
124+
],
125+
},
126+
],
116127
...apiChangelogPlugins, // Spread the dynamically generated changelog plugins
117128
],
118129

package-lock.json

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"dependencies": {
2424
"@cmfcmf/docusaurus-search-local": "^0.10.0",
2525
"@docusaurus/core": "2.0.0-beta.15",
26+
"@docusaurus/plugin-client-redirects": "^2.0.0-beta.15",
2627
"@docusaurus/plugin-content-docs": "2.0.0-beta.15",
2728
"@docusaurus/preset-classic": "2.0.0-beta.15",
2829
"@edno/docusaurus2-graphql-doc-generator": "^1.9.0",

0 commit comments

Comments
 (0)