1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

添加更多教程页面

This commit is contained in:
2025-02-21 00:59:10 +08:00
parent 90860b719f
commit 78f160876d
9 changed files with 76 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ export default defineConfig({
themeConfig: { themeConfig: {
// https://vitepress.dev/reference/default-theme-config // https://vitepress.dev/reference/default-theme-config
logo: { logo: {
src: '/public/assets/logo.svg', src: '/assets/logo.svg',
}, },
nav: nav, nav: nav,

View File

@@ -0,0 +1,3 @@
# redis 安装配置 (Ubuntu 系统)
待完善

View File

@@ -0,0 +1,5 @@
# redis 安装配置 (Windows 系统)
> redis 官方不提供 Windows 版本安装包,以下教程中所使用的安装来自开源社区
待完善

View File

@@ -0,0 +1,3 @@
# Node.js & npm 安装配置 (Ubuntu 系统)
待完善

View File

@@ -0,0 +1,5 @@
# Node.js & npm 安装配置 (Windows 系统)
> redis 官方不提供 Windows 版本安装包,以下教程中所使用的安装来自开源社区
待完善

View File

@@ -0,0 +1,3 @@
# 安装 Ubuntu 24.04 Desktop 操作系统
待完善

View File

@@ -0,0 +1,3 @@
# 安装 Ubuntu 24.04 Server 操作系统
待完善

View File

@@ -6,7 +6,7 @@ hero:
name: "就这么弄" name: "就这么弄"
text: "简单步骤与实用技巧" text: "简单步骤与实用技巧"
image: image:
src: /public/assets/logo.svg src: /assets/logo.svg
alt: VitePress alt: VitePress
style: "border-radius: 50%" style: "border-radius: 50%"
tagline: 时间应该更重要的事情 tagline: 时间应该更重要的事情

View File

@@ -7,11 +7,15 @@ function serial(key) {
serialNumberMap[key] = 0 serialNumberMap[key] = 0
} }
const serialNumber = ++serialNumberMap[key] // `${++serialNumberMap[key]}. ` const serialNumber = ++serialNumberMap[key] // `${++serialNumberMap[key]}. `
// return
if (key === '') {
return `${serialNumber}. 🐬 `
}
if (!key.includes('.')) { if (!key.includes('.')) {
return `🌟 ` return `🌟 `
} }
return `` return '' // `✨ `
} }
export const sidebar: DefaultTheme.Sidebar = { export const sidebar: DefaultTheme.Sidebar = {
@@ -28,29 +32,68 @@ export const sidebar: DefaultTheme.Sidebar = {
] ]
}, },
{ {
text: 'Linux 系统如何 ... ?', text: `${serial('')} Linux 系统如何 ... ?`,
items: [ items: [
{
text: `${serial('linux')}安装操作系统`,
items: [
{
text: `${serial('linux.system')}Ubuntu 24.04 Desktop 安装`,
link: 'system/linux/install-ubuntu-desktop',
},
{
text: `${serial('linux.system')}Ubuntu 24.04 Server 安装`,
link: 'system/linux/install-ubuntu-server',
},
]
},
{ {
text: `${serial('linux')}安装数据库`, text: `${serial('linux')}安装数据库`,
items: [ items: [
{ {
text: `${serial('linux.db')}MySQL 8.x 安装 & 配置 (Ubuntu)`, text: `${serial('linux.db')}MySQL 8.x 安装 & 配置 (Ubuntu)`,
link: 'database/mysql/install-on-ubuntu', link: 'database/mysql/install-on-ubuntu',
} },
{
text: `${serial('linux.db')}redis 安装 & 配置`,
link: 'database/redis/install-on-ubuntu',
},
]
},
{
text: `${serial('linux')}配置编程语言`,
items: [
{
text: `${serial('linux.env')}Node.js & npm 安装 & 配置 (Ubuntu)`,
link: 'programming-language/node/install-on-ubuntu',
},
]
},
{
text: `${serial('linux')}安装开发工具`,
items: [
{
text: `${serial('linux.develop')}MySQL 8.x 安装 & 配置 (Ubuntu)`,
link: 'database/mysql/install-on-ubuntu',
},
] ]
}, },
] ]
}, },
{ {
text: 'Windows 系统如何 ... ?', text: `${serial('')} Windows 系统如何 ... ?`,
items: [ items: [
{ {
text: `${serial('win')}安装数据库`, text: `${serial('windows')}安装数据库`,
items: [ items: [
{ {
text: `${serial('win.db')}MySQL 8.x 安装 & 配置`, text: `${serial('windows.db')}MySQL 8.x 安装 & 配置`,
link: 'database/mysql/install-on-windows.md', link: 'database/mysql/install-on-windows',
} },
{
text: `${serial('windows.db')}redis 安装 & 配置`,
link: 'database/redis/install-on-windows',
},
] ]
}, },
] ]