Skip to content

Commit

Permalink
feat: upgrade infra versions
Browse files Browse the repository at this point in the history
Make the theme-default looks the same as before. Also, fix some broken
links.
  • Loading branch information
mrdrivingduck committed Dec 1, 2024
1 parent 2f166f0 commit 6037a47
Show file tree
Hide file tree
Showing 6 changed files with 1,303 additions and 1,193 deletions.
36 changes: 12 additions & 24 deletions docs/.vuepress/configs/sidebar/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,60 +512,48 @@ export const sidebarEn: SidebarConfig = {
children: [
{
text: "Chapter 1 - 嵌入式系统导论",
children: [
"/uc-os-ii-code-notes/Chapter 1 - 嵌入式系统导论/Chapter 1 - 嵌入式系统导论.md",
],
link: "/uc-os-ii-code-notes/Chapter 1 - 嵌入式系统导论.md",
},
{
text: "Chapter 2 - 嵌入式操作系统中的基本概念",
children: [
"/uc-os-ii-code-notes/Chapter 2 - 嵌入式操作系统中的基本概念/Chapter 2 - 嵌入式操作系统中的基本概念.md",
],
link: "/uc-os-ii-code-notes/Chapter 2 - 嵌入式操作系统中的基本概念.md",
},
{
text: "Chapter 3 - 任务管理",
children: [
"/uc-os-ii-code-notes/Chapter 3 - 任务管理/Chapter 3.1 - 核心任务管理.md",
"/uc-os-ii-code-notes/Chapter 3 - 任务管理/Chapter 3.2 - 用户任务管理.md",
"/uc-os-ii-code-notes/Chapter 3.1 - 核心任务管理.md",
"/uc-os-ii-code-notes/Chapter 3.2 - 用户任务管理.md",
],
},
{
text: "Chapter 4 - 中断与时间管理",
children: [
"/uc-os-ii-code-notes/Chapter 4 - 中断与时间管理/Chapter 4 - 中断与时间管理.md",
],
link: "/uc-os-ii-code-notes/Chapter 4 - 中断与时间管理.md",
},
{
text: "Chapter 5 - 事件控制块",
children: [
"/uc-os-ii-code-notes/Chapter 5 - 事件控制块/Chapter 5 - 事件控制块.md",
],
link: "/uc-os-ii-code-notes/Chapter 5 - 事件控制块.md",
},
{
text: "Chapter 6 - 信号量与互斥信号量管理",
children: [
"/uc-os-ii-code-notes/Chapter 6 - 信号量与互斥信号量管理/Chapter 6.1 - 信号量管理.md",
"/uc-os-ii-code-notes/Chapter 6 - 信号量与互斥信号量管理/Chapter 6.2 - 互斥信号量管理.md",
"/uc-os-ii-code-notes/Chapter 6.1 - 信号量管理.md",
"/uc-os-ii-code-notes/Chapter 6.2 - 互斥信号量管理.md",
],
},
{
text: "Chapter 7 - 消息管理",
children: [
"/uc-os-ii-code-notes/Chapter 7 - 消息管理/Chapter 7.1 - 消息邮箱管理.md",
"/uc-os-ii-code-notes/Chapter 7 - 消息管理/Chapter 7.2 - 消息队列管理.md",
"/uc-os-ii-code-notes/Chapter 7.1 - 消息邮箱管理.md",
"/uc-os-ii-code-notes/Chapter 7.2 - 消息队列管理.md",
],
},
{
text: "Chapter 8 - 事件标志组",
children: [
"/uc-os-ii-code-notes/Chapter 8 - 事件标志组/Chapter 8 - 事件标志组.md",
],
link: "/uc-os-ii-code-notes/Chapter 8 - 事件标志组.md",
},
{
text: "Chapter 9 - 内存管理",
children: [
"/uc-os-ii-code-notes/Chapter 9 - 内存管理/Chapter 9 - 内存管理.md",
],
link: "/uc-os-ii-code-notes/Chapter 9 - 内存管理.md",
},
],
},
Expand Down
21 changes: 11 additions & 10 deletions docs/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
:root {
scroll-behavior: smooth;
}

// brand colors
--c-brand: #9567e4;
--c-brand-light: #9567e4;

--c-tip: #9567e4;
// === colors ===
:root {
// accent colors
--vp-c-accent: #9567e4;
--vp-c-accent-bg: #9567e4;
--vp-c-accent-hover: #9a70e2;
}

html.dark {
[data-theme='dark'] {
// brand colors
--c-brand: #ffd04b;
--c-brand-light: #ffd04b;

--c-tip: #ffd04b;
--vp-c-accent: #ffd04b;
--vp-c-accent-bg: #ffd04b;
--vp-c-accent-hover: #ecbb33;
}
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ actions:
type: primary
- text: Notes
link: /notes/README.md
type: secondary
type: primary
footerHtml: true
footer: MIT Licensed | Copyright © Jingtang Zhang, 2022-2024
---
2 changes: 1 addition & 1 deletion docs/about/blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Version

🛠️ Build version: 1.2024.10
🛠️ Build version: 1.2024.12

## Branch Status

Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "duckling-blog",
"version": "1.2024.10",
"version": "1.2024.12",
"description": "Blog of Mr Dk.",
"scripts": {
"docs:dev": "vuepress dev docs",
Expand All @@ -17,15 +17,15 @@
},
"homepage": "https://github.com/mrdrivingduck/blog#readme",
"devDependencies": {
"@vuepress/bundler-vite": "^2.0.0-rc.9",
"@vuepress/plugin-docsearch": "^2.0.0-rc.9",
"@vuepress/plugin-register-components": "^2.0.0-rc.9",
"@vuepress/theme-default": "^2.0.0-rc.9",
"@vuepress/bundler-vite": "^2.0.0-rc.18",
"@vuepress/plugin-docsearch": "^2.0.0-rc.56",
"@vuepress/plugin-register-components": "^2.0.0-rc.54",
"@vuepress/theme-default": "^2.0.0-rc.56",
"katex": "^0.16.10",
"prettier": "3.2.5",
"sass-embedded": "^1.80.5",
"vue": "^3.4.0",
"vuepress": "^2.0.0-rc.9",
"vuepress-plugin-md-enhance": "^2.0.0-rc.33"
"prettier": "3.3.3",
"sass-embedded": "^1.80.3",
"vue": "^3.5.12",
"vuepress": "^2.0.0-rc.18",
"vuepress-plugin-md-enhance": "^2.0.0-rc.59"
}
}
Loading

0 comments on commit 6037a47

Please sign in to comment.