-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: complete the basic framework construction
- Loading branch information
1 parent
29529a6
commit a62e71a
Showing
16 changed files
with
428 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,38 @@ | ||
import { defineConfig } from 'vitepress' | ||
import { defineConfig } from "vitepress"; | ||
|
||
import nav from "./config/nav"; | ||
import sidebar from "./config/sidebar"; | ||
|
||
// https://vitepress.dev/reference/site-config | ||
export default defineConfig({ | ||
title: "ArbitrarilyTong", | ||
description: "ArbitrarilyTong UI", | ||
themeConfig: { | ||
logo: "/favicon.png", | ||
// https://vitepress.dev/reference/default-theme-config | ||
nav: [ | ||
{ text: 'Home', link: '/' }, | ||
{ text: 'Examples', link: '/markdown-examples' } | ||
], | ||
nav, | ||
|
||
sidebar: [ | ||
{ | ||
text: 'Examples', | ||
items: [ | ||
{ text: 'Markdown Examples', link: '/markdown-examples' }, | ||
{ text: 'Runtime API Examples', link: '/api-examples' } | ||
] | ||
} | ||
], | ||
sidebar, | ||
|
||
socialLinks: [ | ||
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' } | ||
] | ||
} | ||
}) | ||
{ | ||
icon: "github", | ||
link: "https://github.com/ArbitrarilyTong/ArbitrarilyTong.github.io", | ||
}, | ||
{ | ||
icon: { | ||
svg: '<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Telegram</title><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>', | ||
}, | ||
link: "https://t.me/ArbitrarilyTong", | ||
}, | ||
{ | ||
icon: "twitter", | ||
link: "https://twitter.com/Ninni_kiri_jp", | ||
}, | ||
], | ||
}, | ||
// Head 部分设置 | ||
head: [ | ||
["link", { rel: "icon", type: "image/svg+xml", href: "/favicon.svg" }], | ||
], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { DefaultTheme } from "vitepress"; | ||
|
||
const navConfig: DefaultTheme.NavItem[] = [ | ||
{ text: "主页", link: "/" }, | ||
{ text: "开发文档", link: "/Guide/" }, | ||
{ text: "常见问题", link: "/FAQ/" }, | ||
{ text: "镜像下载", link: "/Download/" }, | ||
{ text: "关于我们", link: "/About/" }, | ||
]; | ||
|
||
export default navConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { DefaultTheme } from "vitepress"; | ||
|
||
const sidebarConfig: DefaultTheme.Sidebar = { | ||
"/About/": [ | ||
{ | ||
text: "关于", | ||
items: [ | ||
{ text: "项目介绍", link: "/About/" }, | ||
{ text: "团队成员", link: "/About/TeamMates" }, | ||
], | ||
}, | ||
], | ||
"/FAQ/": [ | ||
{ | ||
text: "常见问题", | ||
items: [{ text: "简介", link: "/FAQ/" }], | ||
}, | ||
], | ||
"/Guide/": [ | ||
{ | ||
text: "开发指南", | ||
items: [{ text: "前言", link: "/Guide/" }], | ||
}, | ||
], | ||
}; | ||
|
||
export default sidebarConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<script setup> | ||
import { VPTeamMembers } from 'vitepress/theme' | ||
|
||
const members = [ | ||
{ | ||
avatar: 'https://www.github.com/yyx990803.png', | ||
name: 'Evan You', | ||
title: 'Creator', | ||
links: [ | ||
{ icon: 'github', link: 'https://github.com/yyx990803' }, | ||
{ icon: 'twitter', link: 'https://twitter.com/youyuxi' } | ||
] | ||
}, | ||
{ | ||
avatar: 'https://www.github.com/yyx990803.png', | ||
name: 'Evan You', | ||
title: 'Creator', | ||
links: [ | ||
{ icon: 'github', link: 'https://github.com/yyx990803' }, | ||
{ icon: 'twitter', link: 'https://twitter.com/youyuxi' } | ||
] | ||
}, | ||
{ | ||
avatar: 'https://www.github.com/yyx990803.png', | ||
name: 'Evan You', | ||
title: 'Creator', | ||
links: [ | ||
{ icon: 'github', link: 'https://github.com/yyx990803' }, | ||
{ icon: 'twitter', link: 'https://twitter.com/youyuxi' } | ||
] | ||
}, | ||
] | ||
</script> | ||
|
||
# 团队成员 | ||
|
||
<VPTeamMembers size="small" :members="members" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# 团队介绍 | ||
|
||
你好,世界! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
# https://vitepress.dev/reference/default-theme-home-page | ||
layout: home | ||
|
||
hero: | ||
name: "ArbitrarilyTong" | ||
text: "设备列表" | ||
features: | ||
- title: 小米10S | ||
details: 测试测试测试测试 | ||
link: www.baidu.com | ||
linkText: 下载地址 | ||
- title: 小米10S | ||
details: 测试测试测试测试 | ||
link: www.baidu.com | ||
linkText: 下载地址 | ||
- title: 小米10S | ||
details: 测试测试测试测试 | ||
link: www.baidu.com | ||
linkText: 下载地址 | ||
- title: 小米10S | ||
details: 测试测试测试测试 | ||
link: www.baidu.com | ||
linkText: 下载地址 | ||
- title: 小米10S | ||
details: 测试测试测试测试 | ||
link: www.baidu.com | ||
linkText: 下载地址 | ||
- title: 小米10S | ||
details: 测试测试测试测试 | ||
link: www.baidu.com | ||
linkText: 下载地址 | ||
- title: 小米10S | ||
details: 测试测试测试测试 | ||
link: www.baidu.com | ||
linkText: 下载地址 | ||
- title: 小米10S | ||
details: 测试测试测试测试 | ||
link: www.baidu.com | ||
linkText: 下载地址 | ||
- title: 小米10S | ||
details: 测试测试测试测试 | ||
link: www.baidu.com | ||
linkText: 下载地址 | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# 如何加入任意桐? | ||
|
||
任意桐目前接受两种职位的请求,即: | ||
|
||
- 开发者 | ||
- 维护者 | ||
|
||
## 开发者 | ||
|
||
- 会 C++、Java、Kotlin | ||
- 会开发 Android 应用 | ||
|
||
## 维护者 | ||
|
||
- 熟练操作安卓源码 | ||
- 能够随着需要来修改 device tree、vendor tree、kernel tree | ||
|
||
如果您有意向,请联系项目负责人 [@respectowl](https://t.me/respectowl) 并参与面试 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# 常见问题集合 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# 开发指南 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.