Skip to content

Commit

Permalink
[website] Fix sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
hadashiA committed Jan 17, 2024
1 parent d41902b commit 633ea69
Showing 1 changed file with 52 additions and 14 deletions.
66 changes: 52 additions & 14 deletions website/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,58 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
*/
const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],

// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
},
],
*/
// tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
docs: {
'ABOUT': [
'about/what-is-vcontainer',
'about/what-is-di',
],
'Getting Started': [
'getting-started/installation',
'getting-started/hello-world',
],
'Resolving': [
'resolving/constructor-injection',
'resolving/method-injection',
'resolving/property-field-injection',
'resolving/gameobject-injection',
'resolving/container-api',
],
'Registering': [
'registering/register-type',
'registering/register-using-delegate',
'registering/register-factory',
'registering/register-monobehaviour',
'registering/register-scriptable-object',
'registering/register-collection',
'registering/register-callbacks',
],
'Integrations': [
'integrations/entrypoint',
'integrations/unitask',
'integrations/unirx',
'integrations/messagepipe',
'integrations/ecs',
],
'Scoping': [
'scoping/lifetime-overview',
'scoping/generate-child-via-scene',
'scoping/generate-child-with-code-first',
'scoping/project-root-lifetimescope',
],
'Diagnostics (Debugging)': [
'diagnostics/diagnostics-window'
],
'Optimization': [
'optimization/source-generator',
'optimization/async-container-build',
'optimization/parallel-container-build',
'optimization/codegen',
],
'Comparing to other libraries': [
'comparing/comparing-to-zenject'
]
},
};

export default sidebars;

0 comments on commit 633ea69

Please sign in to comment.