|
|
@@ -13,8 +13,8 @@ export default defineAdditionalConfig({
|
|
|
|
|
|
sidebar: {
|
|
|
'/guide/': { base: '/guide/', items: guideSidebar() },
|
|
|
- '/api/description': { base: '/api/description/', items: descriptionApiSidebar() },
|
|
|
- '/api/scripts': { base: '/api/scripts/', items: scriptsApiSidebar() },
|
|
|
+ '/api/description/': { base: '/api/description/', items: descriptionApiSidebar() },
|
|
|
+ '/api/scripts/': { base: '/api/scripts/', items: scriptsApiSidebar() },
|
|
|
'/examples/': { base: '/examples/', items: examplesSidebar() },
|
|
|
},
|
|
|
|
|
|
@@ -88,20 +88,20 @@ function descriptionApiSidebar(): DefaultTheme.SidebarItem[] {
|
|
|
text: 'Description API',
|
|
|
collapsed: false,
|
|
|
items: [
|
|
|
- { text: 'Specification', link: '/specification' },
|
|
|
- { text: 'Conditions', link: '/conditions' },
|
|
|
- { text: 'Global Interfaces', link: '/global-interfaces' },
|
|
|
- { text: 'Helper Interfaces', link: '/helper-interfaces' },
|
|
|
- { text: 'Project Targets', link: '/project-target' },
|
|
|
- { text: 'Configuration Option', link: '/configuration-option' },
|
|
|
- { text: 'Plugin and Task', link: '/plugin-and-task' },
|
|
|
- { text: 'Custom Rule', link: '/custom-rule' },
|
|
|
- { text: 'Custom Toolchain', link: '/custom-toolchain' },
|
|
|
- { text: 'Package Dependencies', link: '/package-dependencies' },
|
|
|
- { text: 'Builtin Variables', link: '/builtin-variables' },
|
|
|
- { text: 'Builtin Rules', link: '/builtin-rules' },
|
|
|
- { text: 'XPack Interfaces', link: '/xpack-interfaces' },
|
|
|
- { text: 'XPack Component Interfaces', link: '/xpack-component-interfaces' },
|
|
|
+ { text: 'Specification', link: 'specification' },
|
|
|
+ { text: 'Conditions', link: 'conditions' },
|
|
|
+ { text: 'Global Interfaces', link: 'global-interfaces' },
|
|
|
+ { text: 'Helper Interfaces', link: 'helper-interfaces' },
|
|
|
+ { text: 'Project Targets', link: 'project-target' },
|
|
|
+ { text: 'Configuration Option', link: 'configuration-option' },
|
|
|
+ { text: 'Plugin and Task', link: 'plugin-and-task' },
|
|
|
+ { text: 'Custom Rule', link: 'custom-rule' },
|
|
|
+ { text: 'Custom Toolchain', link: 'custom-toolchain' },
|
|
|
+ { text: 'Package Dependencies', link: 'package-dependencies' },
|
|
|
+ { text: 'Builtin Variables', link: 'builtin-variables' },
|
|
|
+ { text: 'Builtin Rules', link: 'builtin-rules' },
|
|
|
+ { text: 'XPack Interfaces', link: 'xpack-interfaces' },
|
|
|
+ { text: 'XPack Component Interfaces', link: 'xpack-component-interfaces' },
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
@@ -122,43 +122,43 @@ function scriptsApiSidebar(): DefaultTheme.SidebarItem[] {
|
|
|
text: 'Scripts API',
|
|
|
collapsed: false,
|
|
|
items: [
|
|
|
- { text: 'Target Instance', link: '/target-instance' },
|
|
|
- { text: 'Option Instance', link: '/option-instance' },
|
|
|
- { text: 'Package Instance', link: '/package-instance' },
|
|
|
+ { text: 'Target Instance', link: 'target-instance' },
|
|
|
+ { text: 'Option Instance', link: 'option-instance' },
|
|
|
+ { text: 'Package Instance', link: 'package-instance' },
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
text: 'Builtin Modules',
|
|
|
collapsed: true,
|
|
|
items: [
|
|
|
- { text: 'import', link: '/builtin-modules/import' },
|
|
|
- { text: 'inherit', link: '/builtin-modules/inherit' },
|
|
|
- { text: 'try-catch-finally', link: '/builtin-modules/try-catch-finally' },
|
|
|
- { text: 'pairs', link: '/builtin-modules/pairs' },
|
|
|
- { text: 'ipairs', link: '/builtin-modules/ipairs' },
|
|
|
- { text: 'print', link: '/builtin-modules/print' },
|
|
|
- { text: 'printf', link: '/builtin-modules/printf' },
|
|
|
- { text: 'cprint', link: '/builtin-modules/cprint' },
|
|
|
- { text: 'cprintf', link: '/builtin-modules/cprintf' },
|
|
|
- { text: 'format', link: '/builtin-modules/format' },
|
|
|
- { text: 'vformat', link: '/builtin-modules/vformat' },
|
|
|
- { text: 'raise', link: '/builtin-pmodules/raise' },
|
|
|
- { text: 'os', link: '/builtin-modules/os' },
|
|
|
+ { text: 'import', link: 'builtin-modules/import' },
|
|
|
+ { text: 'inherit', link: 'builtin-modules/inherit' },
|
|
|
+ { text: 'try-catch-finally', link: 'builtin-modules/try-catch-finally' },
|
|
|
+ { text: 'pairs', link: 'builtin-modules/pairs' },
|
|
|
+ { text: 'ipairs', link: 'builtin-modules/ipairs' },
|
|
|
+ { text: 'print', link: 'builtin-modules/print' },
|
|
|
+ { text: 'printf', link: 'builtin-modules/printf' },
|
|
|
+ { text: 'cprint', link: 'builtin-modules/cprint' },
|
|
|
+ { text: 'cprintf', link: 'builtin-modules/cprintf' },
|
|
|
+ { text: 'format', link: 'builtin-modules/format' },
|
|
|
+ { text: 'vformat', link: 'builtin-modules/vformat' },
|
|
|
+ { text: 'raise', link: 'builtin-pmodules/raise' },
|
|
|
+ { text: 'os', link: 'builtin-modules/os' },
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
text: 'Extension Modules',
|
|
|
collapsed: true,
|
|
|
items: [
|
|
|
- { text: 'core.base.option', link: '/extension-modules/core-base-option' },
|
|
|
- { text: 'core.base.global', link: '/extension-modules/core-base-global' },
|
|
|
- { text: 'core.base.task', link: '/extension-modules/core-base-task' },
|
|
|
- { text: 'core.base.json', link: '/extension-modules/core-base-json' },
|
|
|
- { text: 'core.base.semver', link: '/extension-modules/core-base-semver' },
|
|
|
- { text: 'core.project.config', link: '/extension-modules/core-project-config' },
|
|
|
+ { text: 'core.base.option', link: 'extension-modules/core-base-option' },
|
|
|
+ { text: 'core.base.global', link: 'extension-modules/core-base-global' },
|
|
|
+ { text: 'core.base.task', link: 'extension-modules/core-base-task' },
|
|
|
+ { text: 'core.base.json', link: 'extension-modules/core-base-json' },
|
|
|
+ { text: 'core.base.semver', link: 'extension-modules/core-base-semver' },
|
|
|
+ { text: 'core.project.config', link: 'extension-modules/core-project-config' },
|
|
|
]
|
|
|
},
|
|
|
- { text: 'Native Modules', link: '/native-modules' },
|
|
|
+ { text: 'Native Modules', link: 'native-modules' },
|
|
|
{
|
|
|
text: 'Next Steps',
|
|
|
collapsed: false,
|