feat(nav): restructure top navigation and sidebars
The old nav used bare lowercase slugs and leaned on filesystem order for every sidebar. - Replace the three existing nav entries with six labelled ones, keyed through i18n.json so both locales resolve to their own text from identical _nav.json files. - Add _meta.json for blogs and opensource-projects, grouping entries by topic instead of leaving them alphabetical. - Rename the Blogs and Notifications pages so their titles match the nav labels (Insights and News). - Point the notification page's account-settings link at GitHub, as the Gitea instance it referenced is retired.
This commit is contained in:
11 files changed
+212
-34
No files matched your search
+20
-5
@@ -1,17 +1,32 @@
|
||||
[
|
||||
{
|
||||
"text": "projects",
|
||||
"link": "/projects/",
|
||||
"activeMatch": "/projects/"
|
||||
"text": "nav.home",
|
||||
"link": "/",
|
||||
"activeMatch": "^/$|^/zh-hans/$"
|
||||
},
|
||||
{
|
||||
"text": "blogs",
|
||||
"text": "nav.products",
|
||||
"link": "/products/",
|
||||
"activeMatch": "/products/"
|
||||
},
|
||||
{
|
||||
"text": "nav.services",
|
||||
"link": "/services/",
|
||||
"activeMatch": "/services/"
|
||||
},
|
||||
{
|
||||
"text": "nav.insights",
|
||||
"link": "/blogs/",
|
||||
"activeMatch": "/blogs/"
|
||||
},
|
||||
{
|
||||
"text": "notifications",
|
||||
"text": "nav.news",
|
||||
"link": "/notifications/",
|
||||
"activeMatch": "/notifications/"
|
||||
},
|
||||
{
|
||||
"text": "nav.opensource",
|
||||
"link": "/opensource-projects/",
|
||||
"activeMatch": "/opensource-projects/"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,33 @@
|
||||
[
|
||||
"index",
|
||||
{ "type": "section-header", "label": "insights.group.frontend" },
|
||||
{ "type": "file", "name": "ecmascript-2025-syntax-sugar" },
|
||||
{ "type": "file", "name": "frontend-development-standards" },
|
||||
{ "type": "file", "name": "frontend-tips-and-solutions" },
|
||||
{ "type": "file", "name": "font-size-conversion-table" },
|
||||
{ "type": "section-header", "label": "insights.group.backend" },
|
||||
{ "type": "file", "name": "java-development-standards" },
|
||||
{ "type": "file", "name": "java-development-cheatsheet" },
|
||||
{ "type": "file", "name": "mybatis-flex" },
|
||||
{ "type": "file", "name": "postgresql-zhparser-fuzzy-search" },
|
||||
{ "type": "file", "name": "use-json-in-mysql" },
|
||||
{ "type": "section-header", "label": "insights.group.devops" },
|
||||
{ "type": "file", "name": "docker-deployment-standards" },
|
||||
{ "type": "file", "name": "gitlab-ops" },
|
||||
{ "type": "file", "name": "setup-ldap-service" },
|
||||
{ "type": "file", "name": "minio-admin-guide" },
|
||||
{ "type": "section-header", "label": "insights.group.practice" },
|
||||
{ "type": "file", "name": "general-development-standards" },
|
||||
{ "type": "file", "name": "google-code-review-standards" },
|
||||
{ "type": "file", "name": "version-control-and-code-review" },
|
||||
{ "type": "file", "name": "git-cheatsheet" },
|
||||
{ "type": "section-header", "label": "insights.group.tooling" },
|
||||
{ "type": "file", "name": "fix-idea-application-yaml-schema-validation" },
|
||||
{ "type": "file", "name": "windows-driver-backup-restore" },
|
||||
{ "type": "file", "name": "fix-macos-monterey-sleep-wake" },
|
||||
{ "type": "file", "name": "macos-private-dns-hostname" },
|
||||
{ "type": "file", "name": "quartile-method" },
|
||||
{ "type": "file", "name": "use-of-gravatar" },
|
||||
{ "type": "file", "name": "email-like-a-boss" },
|
||||
{ "type": "file", "name": "cooking-seasoning-guide" }
|
||||
]
|
||||
@@ -1,10 +1,10 @@
|
||||
---
|
||||
title: 博客
|
||||
title: 技术洞察
|
||||
---
|
||||
|
||||
# 博客
|
||||
# 技术洞察
|
||||
|
||||
欢迎来到 OnixByte 博客,这里汇集了日常工程实践中沉淀的实用指南、速查手册和开发规范。
|
||||
这里汇集了日常工程实践中沉淀的实用指南、速查手册和开发规范。
|
||||
|
||||
## 话题分类
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
---
|
||||
title: 通知
|
||||
title: 企业动态
|
||||
---
|
||||
|
||||
## Microsoft 邮件投递问题(@outlook、@hotmail、@live、@msn 以及托管在 Microsoft 的自定义域名邮箱)
|
||||
|
||||
> 更新于 *2026 年 5 月 19 日*
|
||||
> 更新于 _2026 年 5 月 19 日_
|
||||
|
||||
**使用 Microsoft 托管邮箱的用户需立即采取行动。**
|
||||
|
||||
@@ -13,7 +13,6 @@ title: 通知
|
||||
为确保服务不受影响,请根据您的账户状态参考以下指引:
|
||||
|
||||
- **新用户(注册前)**:请**不要**使用 Microsoft 托管的邮箱地址注册账户。您将无法收到必要的激活链接。请使用其他邮件服务商,例如您的企业邮箱、QQ 邮箱或网易 163 邮箱完成注册。
|
||||
- **已注册用户**:如果您的账户当前绑定了 Outlook 或 Hotmail 邮箱地址,请立即登录并更新您的主邮箱。您可以通过 **[用户设置 -> 偏好设置 -> 邮箱](https://git.onixbyte.cn/-/profile/emails)** 页面进行更改。未能及时更新将导致您无法收到重要的仓库更新、CI/CD 流水线失败日志以及合并请求通知。
|
||||
- **已注册用户**:如果您的账户当前绑定了 Outlook 或 Hotmail 邮箱地址,请立即登录并更新您的主邮箱。您可以通过 **[用户设置 -> 偏好设置 -> 邮箱](https://github.com/settings/emails)** 页面进行更改。未能及时更新将导致您无法收到重要的仓库更新、CI/CD 流水线失败日志以及合并请求通知。
|
||||
|
||||
我们正在积极与 Microsoft Postmaster Centre 沟通,以申请解除此屏蔽。对于由此带来的任何不便,我们深表歉意,并感谢您及时配合更新联系信息。
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
[
|
||||
"index",
|
||||
{ "type": "section-header", "label": "opensource.group.libraries" },
|
||||
{ "type": "dir", "name": "onixbyte-toolbox" },
|
||||
{ "type": "dir", "name": "regions4j" },
|
||||
{ "type": "dir", "name": "captcha" },
|
||||
{ "type": "dir", "name": "calendar-toolbox" },
|
||||
{ "type": "section-header", "label": "opensource.group.applications" },
|
||||
{ "type": "dir", "name": "helix" },
|
||||
{ "type": "dir", "name": "delta-force-guide" },
|
||||
{ "type": "section-header", "label": "opensource.group.tools" },
|
||||
{ "type": "dir", "name": "claude-code-skill-manager" },
|
||||
{ "type": "dir", "name": "vite-plugins" }
|
||||
]
|
||||
Reference in new issue
Block a user