@@ -10,9 +10,28 @@ const siteBaseUrl = isDeploy ? constants.SITE_URL : undefined;
1010export default defineConfig ( {
1111 site : siteBaseUrl ,
1212 redirects : {
13- '/sa/trouble/crashing-before-gtagame/' : '/sa/trouble/general/' ,
14- '/sa/trouble/crashing-before-gtalaunch/' : '/sa/trouble/general/' ,
13+ '/sa/trouble/downgrade-steam/' : '/sa/trouble/downgrade/' ,
14+ '/sa/trouble/serial-validation-ver/' : '/sa/trouble/serial-validation/' ,
15+ '/sa/trouble/d3dcreatedevice-fail/' : '/guides/graphics-drivers-issues/' ,
16+ '/sa/trouble/d3dresetdevice-fail/' : '/guides/graphics-drivers-issues/' ,
17+ '/sa/trouble/error-subrastering/' : '/guides/graphics-drivers-issues/' ,
18+ '/sa/trouble/fonts-create-sprite-fail/' : '/guides/graphics-drivers-issues/' ,
19+ '/sa/trouble/gui-render/' : '/guides/graphics-drivers-issues/' ,
20+ '/sa/trouble/asi-files/' : '/guides/how-to-remove-asi-files/' ,
21+ '/sa/trouble/au-revoir-xp-vista/' : '/general/system-requirements/' ,
22+ '/sa/trouble/general/' : '/guides/troubleshooting-guide/' ,
23+ '/sa/trouble/gta_sa-missing/' : '/guides/troubleshooting-guide/' ,
24+ '/sa/trouble/crashing-before-gtagame/' : '/guides/troubleshooting-guide/' ,
25+ '/sa/trouble/crashing-before-gtalaunch/' : '/guides/troubleshooting-guide/' ,
26+ '/sa/trouble/loader-dll-missing/' : '/guides/troubleshooting-guide/' ,
27+ '/sa/trouble/loader-dll-not-loadable/' : '/guides/troubleshooting-guide/' ,
28+ '/sa/trouble/core-missing/' : '/guides/troubleshooting-guide/' ,
29+ '/sa/trouble/core-not-loadable/' : '/guides/troubleshooting-guide/' ,
30+ '/sa/trouble/client-missing/' : '/guides/troubleshooting-guide/' ,
31+ '/sa/trouble/lua-missing/' : '/guides/troubleshooting-guide/' ,
32+ '/sa/trouble/module-not-loadable/' : '/guides/troubleshooting-guide/' ,
1533 } ,
34+ trailingSlash : 'always' ,
1635 integrations : [
1736 starlight ( {
1837 plugins : [ mtasaStarlightThemePlugin ( ) ] ,
@@ -38,14 +57,12 @@ export default defineConfig({
3857 } ,
3958 sidebar : [
4059 {
41- label : 'Guides' ,
42- items : [
43- { label : 'Example Guide' , slug : 'guides/example' } ,
44- ] ,
60+ label : 'General' ,
61+ autogenerate : { directory : 'general' } ,
4562 } ,
4663 {
47- label : 'Reference ' ,
48- autogenerate : { directory : 'reference ' } ,
64+ label : 'Guides ' ,
65+ autogenerate : { directory : 'guides ' } ,
4966 } ,
5067 {
5168 label : 'Troubleshooting' ,
0 commit comments