Updated routes

This commit is contained in:
SPT-dev 2023-03-02 21:09:46 -05:00
parent c10c642d79
commit 3465fba1e9

View File

@ -43,16 +43,13 @@
<script src="./assets/js/prism.js"></script> <script src="./assets/js/prism.js"></script>
<script src="./assets/js/aki-navigator.js"></script> <script src="./assets/js/aki-navigator.js"></script>
<script> <script>
// TODO: keep updating old files and add them the the routes list
const routes = { const routes = {
"SPT-AKI": { "SPT-AKI": {
"Installing a release": "spt-aki/install.md", "Installing a release": "spt-aki/install.md",
"About": "spt-aki/about.md", "About": "spt-aki/about.md",
"FAQ": "spt-aki/faq.md", "FAQ": "spt-aki/faq.md",
// TODO: work on routes nesting // TODO: work on routes nesting
// "foo" : {
// "item1": "#",
// "item2": "#"
// }
}, },
"Tutorials": { "Tutorials": {
// Generalist tutorials (walkthrough projects) // Generalist tutorials (walkthrough projects)
@ -62,29 +59,36 @@
// Here are guides only related to modifying the server/client. // Here are guides only related to modifying the server/client.
"WorkInProgress": "demo.md" "WorkInProgress": "demo.md"
}, },
"DEBUG": { "Ressources": {
"** Markdown Demo": "demo.md" "Index": "ressources/index.md",
"Player profile": "ressources/ressources_player_profile.md",
"Quests": "ressources/ressources_quests.md",
"Locations": "ressources/ressources_locations.md",
"Item stats": "ressources/ressources_items_stats.md",
"Other": "ressources/ressources_other.md",
}, },
// "DEBUG": {
"Tutorials-old":{ // "** Markdown Demo": "demo.md"
"Create a mod on SP-Tarkov": ".old/tutorials/create_a_mod.md", // TODO: Create a "modding 101 series" // },
"How to report a bug": ".old/tutorials/bug-report.md", // TODO: include in FAQ // "Tutorials-old":{
"Editing differents things in my player profile": ".old/tutorials/edit_the_player_profile.md", // "Create a mod on SP-Tarkov": ".old/tutorials/create_a_mod.md", // TODO: Create a "modding 101 series"
"Change some traders behaviour": ".old/tutorials/edit_traders_values.md", // "How to report a bug": ".old/tutorials/bug-report.md", // TODO: include in FAQ
"How to customize maps values": ".old/tutorials/edit_location_values.md", // "Editing differents things in my player profile": ".old/tutorials/edit_the_player_profile.md",
"Change global values of the server": ".old/tutorials/edit_globals_values.md", // "Change some traders behaviour": ".old/tutorials/edit_traders_values.md",
"Edit weapons textures": ".old/tutorials/edit_weapons_textures.md", // "How to customize maps values": ".old/tutorials/edit_location_values.md",
"Edit weapons textures with photoshop": ".old/tutorials/photoshop_texture_editing.md", // "Change global values of the server": ".old/tutorials/edit_globals_values.md",
"Customize weather presets": ".old/tutorials/create_weather.md", // "Edit weapons textures": ".old/tutorials/edit_weapons_textures.md",
"Add new bundles to the game": ".old/tutorials/add_new_bundles.md" // "Edit weapons textures with photoshop": ".old/tutorials/photoshop_texture_editing.md",
}, // "Customize weather presets": ".old/tutorials/create_weather.md",
"Modding":{ // "Add new bundles to the game": ".old/tutorials/add_new_bundles.md"
"All items stats resources":"resources/itemsStats_resources.md", // },
"All locations resources":"resources/locations_resources.md", // "Modding":{
"All player profile resources":"resources/playerProfile_resources.md", // "All items stats resources":"resources/itemsStats_resources.md",
"All quest resources":"resources/quests_resources.md", // "All locations resources":"resources/locations_resources.md",
"All other resources":"resources/other_resources.md" // "All player profile resources":"resources/playerProfile_resources.md",
} // "All quest resources":"resources/quests_resources.md",
// "All other resources":"resources/other_resources.md"
// }
}; };
/** /**