Skip to content

Commit 326e242

Browse files
authored
docs: UI docs (#102)
2 parents 58704a9 + 20ca4d5 commit 326e242

File tree

199 files changed

+10849
-66
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+10849
-66
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches: [main, docs/ui]
66
pull_request:
77
branches: [main, docs/ui]
8+
merge_group:
9+
branches: [main, docs/ui]
810

911
jobs:
1012
build:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ node_modules
55
.vitepress/dist
66
.vitepress/cache
77

8+
explore/
9+
810
yarn.lock
911
.DS_Store

.textlintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
["labelled", "labeled"],
7373
["licence", "license"],
7474
["organise", "organize"],
75+
["optimise", "optimize"],
7576

7677
// Common misspellings
7778
["gaurantee", "guarantee"],

.vitepress/config.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { defineConfig } from 'vitepress'
22
import apiSidebar from '../content/api/sidebar.json'
33
import mainSidebar from '../content/sidebar'
4+
import uiSidebar from '../content/ui/sidebar'
45
import nav from './nav'
56
import './theme/cliLanguage'
67
import path from 'node:path'
@@ -36,6 +37,7 @@ export default defineConfig({
3637
nav,
3738
sidebar: {
3839
'/api': apiSidebar,
40+
'/ui': uiSidebar,
3941
'/': mainSidebar,
4042
},
4143
},

.vitepress/nav.ts

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,22 @@ export default [
1212
{
1313
text: 'Docs',
1414
link: '/',
15-
activeMatch: '^/(?!plugins|best-practices|api|dev-reference|tutorials)',
15+
activeMatch: '^/(?!plugins|best-practices|api|dev-reference|tutorials|ui)',
1616
icon: 'BookOpenIcon',
1717
},
18-
{
19-
text: 'Preview',
20-
link: 'https://preview.nativescript.org',
21-
icon: 'DevicePhoneMobileIcon',
22-
target: '_blank',
23-
},
18+
2419
{
2520
text: 'Tutorials',
2621
link: '/tutorials/',
2722
activeMatch: '^/tutorials',
2823
icon: 'AcademicCapIcon',
2924
},
25+
{
26+
text: 'Preview',
27+
link: 'https://preview.nativescript.org',
28+
icon: 'DevicePhoneMobileIcon',
29+
target: '_blank',
30+
},
3031
{
3132
text: 'Plugins',
3233
link: '/soon',
@@ -44,6 +45,12 @@ export default [
4445
link: '/soon',
4546
icon: 'CpuChipIcon',
4647
},
48+
{
49+
text: 'UI Components',
50+
link: '/ui/',
51+
activeMatch: '^/ui',
52+
icon: 'CubeTransparentIcon',
53+
},
4754
{
4855
text: 'API Reference',
4956
link: '/api/',

content/api/class/Image.md

Lines changed: 1 addition & 1 deletion

content/guide/navigation/modals.md

Lines changed: 89 additions & 0 deletions

content/project-structure/src/fonts.md

Lines changed: 1 addition & 1 deletion
24.2 KB
17 KB

0 commit comments

Comments
 (0)