Skip to content

Commit 86ab86b

Browse files
committed
feat: sidebar cleanup, updated theme, fixed links
1 parent 77028ce commit 86ab86b

File tree

7 files changed

+1197
-1163
lines changed

7 files changed

+1197
-1163
lines changed

.vitepress/config.mts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { defineConfig } from 'vitepress'
22
import apiSidebar from '../content/api/sidebar.json'
3-
import coreSidebar from '../content/core/sidebar'
43
import mainSidebar from '../content/sidebar'
54
import uiSidebar from '../content/ui/sidebar'
65
import nav from './nav'
@@ -38,7 +37,6 @@ export default defineConfig({
3837
nav,
3938
sidebar: {
4039
'/api': apiSidebar,
41-
'/core': coreSidebar,
4240
'/ui': uiSidebar,
4341
'/': mainSidebar,
4442
},

.vitepress/nav.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default [
3131
{
3232
text: 'Plugins',
3333
link: 'https://docs.nativescript.org/plugins/index.html',
34-
icon: 'CubeTransparentIcon',
34+
icon: 'PuzzlePieceIcon',
3535
},
3636
// {
3737
// text: 'Best Practices',
@@ -48,13 +48,7 @@ export default [
4848
text: 'UI Components',
4949
link: '/ui/',
5050
activeMatch: '^/ui',
51-
icon: 'CubeTransparentIcon',
52-
},
53-
{
54-
text: 'Core Reference',
55-
link: '/core/',
56-
activeMatch: '^/core',
57-
icon: 'CodeBracketIcon',
51+
icon: 'RectangleGroupIcon',
5852
},
5953
{
6054
text: 'API Reference',

.vitepress/theme/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)