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:
zihluwang committed 2026-09-25 14:48:52 +08:00
1 parent 3f78e45899
commit 792246dc12
11 files changed
+212 -34

No files matched your search

+20 -5
View File
@@ -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/"
}
]
+33
View File
@@ -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" }
]
+4 -4
View File
@@ -1,11 +1,11 @@
---
title: Blog
title: Insights
---
# Blog
# Insights
Welcome to the OnixByte blog — a collection of practical guides, cheatsheets, and standards
distilled from daily engineering work.
Practical guides, cheatsheets, and standards distilled from daily engineering
work.
## Topics
+3 -4
View File
@@ -1,10 +1,10 @@
---
title: Notifications
title: News
---
## Microsoft Email Delivery Issues (@outlook, @hotmail, @live, @msn and custom domain emails hosted on Microsoft)
> Updated at *19 May 2026*.
> Updated at _19 May 2026_.
**Urgent Action Required for Users with Microsoft-Hosted Emails.**
@@ -13,7 +13,6 @@ Please be advised that our automated email service is currently experiencing sev
To ensure uninterrupted service, please follow the guidance below based on your account status:
- For Prospective Users (Before Registration): Please **do not** use a Microsoft-hosted email address to register your account. You will not receive the essential activation link. Kindly use an alternative email service provider, such as your corporate email, Gmail, etc. to complete your registration.
- For Existing Registered Users: If your profile is currently linked to an Outlook or Hotmail address, please log in immediately and update your primary email address. You can change this by navigating to your **[User Settings -> Preferences -> Emails](https://git.onixbyte.cn/-/profile/emails)** page. Failing to do so will result in missing critical repository updates, CI/CD pipeline failure logs, and Merge Request notifications.
- For Existing Registered Users: If your profile is currently linked to an Outlook or Hotmail address, please log in immediately and update your primary email address. You can change this by navigating to your **[User Settings -> Preferences -> Emails](https://github.com/settings/emails)** page. Failing to do so will result in missing critical repository updates, CI/CD pipeline failure logs, and Merge Request notifications.
We are actively working to appeal this block with the Microsoft Postmaster Centre. We sincerely apologise for any inconvenience caused and appreciate your prompt cooperation in updating your contact details.
+14
View File
@@ -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" }
]