@@ -23,6 +23,7 @@ const config = {
2323 sidebarPath : require . resolve ( './sidebars.js' ) ,
2424 routeBasePath : '/' ,
2525 path : '.' ,
26+ exclude : [ '**/node_modules/**' ] ,
2627 editUrl : 'https://github.com/zaber-dev/Zeython/edit/main/docs/'
2728 } ,
2829 blog : false ,
@@ -40,10 +41,38 @@ const config = {
4041 path : '..' ,
4142 routeBasePath : 'project' ,
4243 sidebarPath : require . resolve ( './sidebars-project.js' ) ,
43- include : [ 'README.md' , 'EXAMPLES.md' , 'MVC_ENHANCEMENTS.md' ] ,
44+ include : [ 'README.md' , 'EXAMPLES.md' , 'MVC_ENHANCEMENTS.md' , 'LEARN.md' ] ,
4445 editUrl : 'https://github.com/zaber-dev/Zeython/edit/main/' ,
4546 } ,
4647 ] ,
48+ [
49+ '@docusaurus/plugin-client-redirects' ,
50+ {
51+ redirects : [
52+ { from : [ '/project/docs/architecture.md' , '/project/docs/architecture' ] , to : '/architecture' } ,
53+ { from : [ '/project/docs/getting-started.md' , '/project/docs/getting-started' ] , to : '/getting-started' } ,
54+ { from : [ '/project/docs/configuration.md' , '/project/docs/configuration' ] , to : '/configuration' } ,
55+ { from : [ '/project/docs/config-reference.md' , '/project/docs/config-reference' ] , to : '/config-reference' } ,
56+ { from : [ '/project/docs/models.md' , '/project/docs/models' ] , to : '/models' } ,
57+ { from : [ '/project/docs/database.md' , '/project/docs/database' ] , to : '/database' } ,
58+ { from : [ '/project/docs/services/web.md' , '/project/docs/services/web' ] , to : '/services/web' } ,
59+ { from : [ '/project/docs/services/discord.md' , '/project/docs/services/discord' ] , to : '/services/discord' } ,
60+ { from : [ '/project/docs/api.md' , '/project/docs/api' ] , to : '/api' } ,
61+ { from : [ '/project/docs/authentication.md' , '/project/docs/authentication' ] , to : '/authentication' } ,
62+ { from : [ '/project/docs/file-management.md' , '/project/docs/file-management' ] , to : '/file-management' } ,
63+ { from : [ '/project/docs/vendor-integrations.md' , '/project/docs/vendor-integrations' ] , to : '/vendor-integrations' } ,
64+ { from : [ '/project/docs/error-monitoring.md' , '/project/docs/error-monitoring' ] , to : '/error-monitoring' } ,
65+ { from : [ '/project/docs/performance.md' , '/project/docs/performance' ] , to : '/performance' } ,
66+ { from : [ '/project/docs/deployment.md' , '/project/docs/deployment' ] , to : '/deployment' } ,
67+ { from : [ '/project/docs/testing.md' , '/project/docs/testing' ] , to : '/testing' } ,
68+ { from : [ '/project/docs/troubleshooting.md' , '/project/docs/troubleshooting' ] , to : '/troubleshooting' } ,
69+ { from : [ '/project/docs/security.md' , '/project/docs/security' ] , to : '/security' } ,
70+ { from : [ '/project/docs/faq.md' , '/project/docs/faq' ] , to : '/faq' } ,
71+ { from : [ '/project/docs/examples.md' , '/project/docs/examples' ] , to : '/examples' } ,
72+ { from : [ '/project/docs/developer-setup.md' , '/project/docs/developer-setup' ] , to : '/developer-setup' } ,
73+ ] ,
74+ } ,
75+ ] ,
4776 ] ,
4877 themeConfig :
4978 /** @type {import('@docusaurus/preset-classic').ThemeConfig } */ ( {
0 commit comments