120 lines
2.7 KiB
JavaScript
120 lines
2.7 KiB
JavaScript
/**
|
|
* Creating a sidebar enables you to:
|
|
- create an ordered group of docs
|
|
- render a sidebar for each doc of that group
|
|
- provide next/previous navigation
|
|
|
|
The sidebars can be generated from the filesystem, or explicitly defined here.
|
|
|
|
Create as many sidebars as you want.
|
|
*/
|
|
|
|
// @ts-check
|
|
|
|
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
|
const sidebars = {
|
|
// By default, Docusaurus generates a sidebar from the docs folder structure
|
|
tutorialSidebar: [
|
|
'intro',
|
|
{
|
|
type: 'category',
|
|
label: 'Getting Started',
|
|
items: [
|
|
'getting-started/installation',
|
|
'getting-started/quick-start',
|
|
'getting-started/basic-setup',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Core Concepts',
|
|
items: [
|
|
'core-concepts/overview',
|
|
'core-concepts/ballistics-system',
|
|
'core-concepts/asset-types',
|
|
'core-concepts/physical-materials',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Asset Creation',
|
|
items: [
|
|
'assets/bullet-properties',
|
|
'assets/material-response-maps',
|
|
'assets/physical-material-integration',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Components',
|
|
items: [
|
|
'components/bullet-actor',
|
|
'components/barrel-component',
|
|
'components/ballistic-impact-component',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Mathematical Ballistics',
|
|
items: [
|
|
'mathematical/overview',
|
|
'mathematical/penetration-calculations',
|
|
'mathematical/atmospheric-effects',
|
|
'mathematical/drag-curves',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Networking',
|
|
items: [
|
|
'networking/overview',
|
|
'networking/replication',
|
|
'networking/prediction',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Performance',
|
|
items: [
|
|
'performance/optimization',
|
|
'performance/pooling',
|
|
'performance/profiling',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Tutorials',
|
|
items: [
|
|
'tutorials/first-weapon',
|
|
'tutorials/material-setup',
|
|
'tutorials/advanced-ballistics',
|
|
'tutorials/multiplayer-setup',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'API Reference',
|
|
items: [
|
|
'api/overview',
|
|
'api/bullet-actor',
|
|
'api/barrel-component',
|
|
'api/impact-component',
|
|
'api/mathematical-ballistics',
|
|
'api/events',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Migration Guide',
|
|
items: [
|
|
'migration/from-legacy',
|
|
'migration/new-impact-system',
|
|
'migration/breaking-changes',
|
|
],
|
|
},
|
|
'troubleshooting',
|
|
'changelog',
|
|
],
|
|
};
|
|
|
|
export default sidebars; |