use a new sidebar for ox_core

This commit is contained in:
Linden committed 2022-06-29 18:34:46 +10:00
1 parent 1482e64639
commit 2991d33011
2 files changed
+25 -12

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
---
title: Getting started
sidebar_position: 1
displayed_sidebar: ox_core
---
import Tabs from '@theme/Tabs';
+24 -12
View File
@@ -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;