Commit Graph
41 Commits
Author SHA1 Message Date
zihluwang 164c319ac1 feat(i18n): default the cn build to Chinese
The .cn site exists for Chinese readers, so the unprefixed routes should
serve Chinese there. Rspress omits the prefix for the default locale, so
this also moves the routes:

              .com                      .cn
  English     /                         /en-gb/
  Chinese     /zh-hans/                 /

- Make the default locale a per-target value rather than a constant, and
  move the localePrefix helper inside createConfig so a prefix can no
  longer be hardcoded elsewhere.
- Build the sitemap priority map from localePrefix. The keys are full
  route paths, so the previous hardcoded "/zh-hans/..." entries would
  have silently stopped matching on .cn.
- Widen the nav Home activeMatch to cover either prefixed home, since the
  two targets put a different locale behind the prefix.

Note: README.md also carries the licence wording changed in the next
commit — a single file's hunks cannot be split non-interactively.
2026-09-25 15:38:03 +08:00
zihluwang 861852961f style: format the repository with prettier
These files were already out of step with the project's Prettier config
before this branch of work; running `pnpm format` finally swept them up.
No semantic changes.

Kept separate from the functional commits so the reformatting does not
bury them in diff noise.
2026-09-25 15:37:59 +08:00
zihluwang 6800f7251d docs(blogs): drop dead scws download links
Both URLs in the tip were dead. The GitHub one referenced an account that
does not exist, and the Gitea one is retired.

Point at the upstream SCWS project instead, and stop promising a
pre-built Windows binary — upstream publishes source only, and the 1.2.3
the dead link referenced was OnixByte's own build.
2026-09-25 14:49:03 +08:00
zihluwang c516341fae feat(content): add products, services and legal pages
- Add /products/, covering the one product actually in service. It is
  written to match reality rather than padded out to look like a matrix.
- Add /services/, describing the work taken on and, deliberately, the
  work that is not a good fit.
- Add the privacy policy and terms, linked from the footer. Both describe
  what the site actually does — no cookies, no analytics — and carry
  TODO notes for the parts needing legal review.
2026-09-25 14:48:59 +08:00
zihluwang 28f07677f3 feat(homepage): rebuild the homepage around the business
The old hero described a small open-source collective crafting tools for
developers, which no longer matches what the company sells.

- Replace the tagline with a value proposition and point the hero actions
  at Services and Products instead of the GitHub organisation.
- Add four content bands: why us, the technology we use, selected work
  and a contact band with an email address and WeChat QR.
- Point the feature cards at GitHub, and fix a dead link in the process:
  delta-force-guide is now ahsarah-guide.
2026-09-25 14:48:55 +08:00
zihluwang 792246dc12 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.
2026-09-25 14:48:52 +08:00
zihluwang b2eb6b9638 refactor: rename projects to opensource-projects
Frees /products/ for the product page and makes the open-source archive
explicit, rather than leaving two sections that both look like "projects".

- Move the directory in both locales and update the 18 internal links
  pointing into it.
- Rework helix for the GitHub layout: server/ and web/ are directories in
  a single repository there, not the two separate repositories Gitea had.
  The "fork both repositories" step and the section wording follow.
- Correct helix's stated Java version to 21, which is what the build
  actually targets.
2026-09-25 14:48:38 +08:00
zihluwang 7f6f3d7a00 docs(blogs): add git usage cheatsheet
- Cover git update-index --skip-worktree for ignoring local
  changes to tracked files
- Include stashing, amending, undo, reflog, bisect, log, clean
  and cherry-pick tips
- Add matching zh-hans and en-gb versions
2026-08-20 15:09:25 +08:00
zihluwang 25a50486cb docs(blogs): add Jackson JSON flattening guide
- Add @JsonUnwrapped and @JsonAnyGetter usage examples with code
- Include comparison table for choosing between annotations
- Sync content across zh-hans and en-gb versions
2026-07-30 09:39:59 +08:00
siujamo cf0658235d docs(blogs): add source attribution to driver backup guide
Add citation linking to the Douyin video tutorial that the guide is based on.
2026-06-23 10:47:18 +08:00
siujamo 458b22af3b docs(blogs): add Windows driver backup and restore guide 2026-06-23 10:29:19 +08:00
siujamo 40a6f65585 docs(projects): add Claude Code Skills Manager documentation
- Add en-gb and zh-hans project pages covering installation, usage, and marketplace creation
- Add CCSM entry to projects index under new Developer Tools section
2026-06-22 16:27:44 +08:00
siujamo 7de2a54f7f docs: update git repo url 2026-06-08 16:25:06 +08:00
siujamo f6fc7eeaae feat: add Kbd component and blog post about IDEA schema validation bug
Add a Kbd component with macOS special key support (⌘, ⌥, ⌃, ⇧, etc.),
export it from theme/index.tsx for use in MDX files.

Add blog posts (EN + ZH) documenting the IntelliJ IDEA application.yaml
schema validation bug caused by an overly broad fileMatch pattern in
SchemaStore, along with the quick fix.
2026-05-26 17:54:50 +08:00
siujamo 59d7a3042a docs: add doc _Fix IntelliJ IDEA Missing Spring Boot application.yaml Code Completion_ 2026-05-26 16:32:40 +08:00
zihluwang b051d8c235 docs: optimise docs 2026-05-23 15:07:43 +08:00
zihluwang 601625f09b docs: add project index pages with categorized listings 2026-05-23 09:37:33 +08:00
zihluwang 18f8792733 docs: add vite-plugins index and port-checker, update regions4j titles 2026-05-23 09:34:18 +08:00
zihluwang 37e5727179 docs: add regions4j documentation
Add English and Chinese docs for regions4j, a Java library providing
ISO 3166-1 regional metadata with Calendar Versioning.
2026-05-23 09:26:06 +08:00
zihluwang 5b7c24fb0d docs: add onixbyte-toolbox documentation
Add English and Chinese docs for the OnixByte Toolbox monorepo covering
all six modules: common-toolbox, crypto-toolbox, math-toolbox, tuple,
identity-generator, and version-catalogue.
2026-05-23 09:21:37 +08:00
zihluwang 7f91c2bc23 chore: clean up unused Tabs imports and Gradle Groovy tab 2026-05-23 09:10:24 +08:00
zihluwang 55479f2fca docs: add helix enterprise application template introduction
Add English and Chinese documentation for Helix, a full-stack enterprise
application template with Spring Boot backend and React frontend.
2026-05-23 09:09:15 +08:00
zihluwang ac8a2e90d8 docs: add delta-force-guide project documentation
Add English and Chinese docs for the Delta Force Guide full-stack app
(Spring Boot backend + React frontend) with architecture, API reference,
and live site link.
2026-05-23 08:57:35 +08:00
zihluwang 6449bc0e87 docs: add captcha project documentation
Add English and Chinese documentation for onixbyte/captcha library,
including overview (index.mdx) and full API reference (api.md).
2026-05-23 08:48:42 +08:00
zihluwang ad6a11b1b4 docs: add docs for calendar toolbox 2026-05-23 08:42:52 +08:00
zihluwang 453f20c902 refactor: re-organise file structure 2026-05-23 07:55:18 +08:00
jamo.siu@gmail.com a8ed9a957c docs: enrich blog index pages with topic overview 2026-05-21 21:14:03 -05:00
jamo.siu@gmail.com 8f38903d4e refactor: moved codes from typescript to tsx 2026-05-21 20:42:46 -05:00
siujamo 5963a4fcc2 refactor: adjust file organisation 2026-05-21 02:11:31 -05:00
siujamo 0295b758fd docs: migrate documents from Notion 2026-05-21 01:53:46 -05:00
siujamo c7b623012c docs: add author information 2026-05-21 00:26:37 -05:00
siujamo 00520ccfe6 refactor: remove logo on index page 2026-05-20 22:15:04 -05:00
siujamo 9b3f9212fd Merge remote-tracking branch 'origin/main'
# Conflicts:
#	i18n.json
2026-05-20 19:55:25 -05:00
zihluwang e592b94a14 feat: redesign homepage for OnixByte open-source collective
Replace Rspress documentation template with an organization homepage
featuring OnixByte's key projects: Toolbox, Dev Lab, Helix, and Delta
Force Guide. Bilingual content for en-gb and zh-hans.
2026-05-21 00:48:15 +08:00
zihluwang dd4bf15ff9 fix: fix index page picture not found 2026-05-20 19:41:29 +08:00
siujamo dbaf28ad98 feat: add tags to articles, full i18n coverage, and Tailwind CSS setup
- Add tag frontmatter to all 6 blog articles (3 articles × 2 locales)
- Complete i18n.json with all 26 text keys for en-gb and zh-hans
- Install and configure Tailwind CSS v4 with PostCSS
- Create Tags component using Tailwind utility classes
- Inject Tags into DocLayout via theme override
- Fix zh-hans homepage icon extension
2026-05-20 03:39:59 -05:00
siujamo e9c83fbcd1 fix: add missing onixbyte-icon.svg favicon file 2026-05-20 02:18:22 -05:00
siujamo 41985e7c1c docs: add bilingual article on fixing macOS hostname under private DNS 2026-05-20 02:15:39 -05:00
siujamo c48cb3d8f0 feat: replace PNG logo and icon with SVG versions
Switch from rspress default branding to OnixByte custom SVG assets.
2026-05-20 02:10:05 -05:00
siujamo da26fde07e docs: translate gitlab-ops to en-gb, enhance gravatar article, fix heading levels
- Translate GitLab Operations article from Chinese to British English
- Add comprehensive Gravatar usage guide with code examples in both locales
- Fix heading levels on notification pages (h1 -> h2)
- Enable line numbers in code blocks via rspress config
2026-05-20 01:50:59 -05:00
siujamo 2c17c927fc feat: implement pages 2026-05-19 21:45:20 -05:00