diff --git a/docs/ox_core/index.md b/docs/ox_core/index.md index 0583077c..17e26d8b 100644 --- a/docs/ox_core/index.md +++ b/docs/ox_core/index.md @@ -1,6 +1,7 @@ --- title: Getting started sidebar_position: 1 +displayed_sidebar: ox_core --- import Tabs from '@theme/Tabs'; diff --git a/sidebars.js b/sidebars.js index ac1b522f..4ed7efb5 100644 --- a/sidebars.js +++ b/sidebars.js @@ -24,19 +24,9 @@ const sidebars = { id: 'index', }, { - type: 'category', + type: 'link', label: 'Core', - link: { - type: 'generated-index', - title: 'Ox Core', - description: 'An experimental framework for FiveM. Limited support and breaking changes guaranteed.', - }, - items: [ - { - type: 'autogenerated', - dirName: 'ox_core', - }, - ], + href: '/docs/ox_core', }, { type: 'category', @@ -69,6 +59,28 @@ const sidebars = { ], }, ], + ox_core: [ + { + type: 'link', + label: '← Documentation', + href: '/docs', + }, + { + type: 'category', + label: 'Core', + link: { + type: 'generated-index', + title: 'Ox Core', + description: 'An experimental framework for FiveM. Limited support and breaking changes guaranteed.', + }, + items: [ + { + type: 'autogenerated', + dirName: 'ox_core', + }, + ], + }, + ], }; module.exports = sidebars;