Commit Graph
70 Commits
Author SHA1 Message Date
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 3f78e45899 feat(seo): add sitemap, canonical metadata and legacy redirects
- Split the config into a createConfig(target) factory plus a thin .cn
  wrapper, so the two deployments differ in one place. The .cn build
  points canonical, hreflang, og:url, sitemap and robots at that origin,
  and omits social links that are not reachable from mainland China.
- Generate sitemap.xml and robots.txt per target. robots.txt is written
  at build time because one static file cannot carry the right origin for
  both domains.
- Emit per-page canonical, hreflang and Open Graph tags. og:title and
  friends are left to the theme, which already emits them and does not
  de-duplicate against site-level head entries.
- Redirect the retired /projects/ paths on Vercel, before the CN redirect
  so those visitors get a single hop.
2026-09-25 14:48:49 +08:00
zihluwang 638c71da44 feat(theme): add site footer and marketing sections
- Add SiteFooter, rendered through the Layout bottom slot so it appears on
  every page type. themeConfig.footer is deliberately left unset: setting
  it would render the built-in HomeFooter as well, on the home page only.
- Add a frontmatter-driven section system (advantages, contentGrid,
  techStack, cases and cta) with a single ordered array, so bands can be
  reordered or removed without touching code.
- Bands render only when they have content, so an unfilled page degrades
  to its heading rather than showing empty boxes.
- Add a SHOW_COPY_PLACEHOLDERS flag for drafting, false by default.
2026-09-25 14:48:42 +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 29f7411da5 chore: pin toolchain and add type checking
- Pin TypeScript as a direct dependency. It was only present transitively
  via typescript-eslint, so nothing enforced tsconfig.json and nine
  latent type errors had gone unnoticed.
- Add `pnpm typecheck` (`tsc --noEmit`) and document it.
- Add .npmrc with engine-strict, so the declared Node and pnpm ranges
  are actually enforced.
- Ignore doc_build/ in ESLint. It was unignored and reported 1650 errors
  from build output, which made lint unusable as a gate.
- Refresh README, CLAUDE.md, AGENTS.md and CONTRIBUTING.md to match the
  current structure, build targets and navigation rules.
2026-09-25 14:48:25 +08:00
zihluwang 38b94ba964 chore: remove ci configuration
Both pipelines are unused — GitLab CI is no longer in use, and the Gitea
workflow was never enabled. Deployment is currently run by hand, so no
replacement automation is added here.
2026-09-25 14:48:21 +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
zihluwang 56429e0449 refactor: remove github pages index 2026-07-30 09:30:26 +08:00
siujamo c855a52b8c ci: use corepack instead of npm install -g pnpm
Node 24 bundles pnpm via corepack, so npm install -g fails with EEXIST.
2026-06-23 11:39:25 +08:00
siujamo e2679393ee ci: add trailing newline when writing SSH key 2026-06-23 11:37:50 +08:00
siujamo e072280560 ci: downgrade artifact actions to v3 for Gitea compatibility 2026-06-23 10:56:48 +08:00
siujamo 34785e2abe ci: fix deploy-onixbyte — install rsync, pass key via env
apt-get install rsync since the runner image lacks it. Pass DEPLOY_SSH_KEY through an env var so the secret value is not printed in the script block.
2026-06-23 10:54:16 +08:00
siujamo 3efbd77892 ci: merge deploy workflows into single file with three jobs
Split into build, deploy-vercel, and deploy-onixbyte jobs sharing a build artifact.
2026-06-23 10:51:34 +08:00
siujamo 7c03c5d420 ci: add Gitea Actions workflow for deploying to onixbyte.cn
Sync doc_build/ to the onixbyte.cn server via rsync over SSH.
2026-06-23 10:50:32 +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 4c11976eb7 ci: replace GitHub Pages action with Gitea Actions for Vercel deployment
Switch from GitHub Pages deployments to Vercel via Gitea Actions CLI.
2026-06-04 13:02:30 +08:00
siujamo 44dc28dbb3 feat: add Vercel geo-redirect config for China mainland visitors
Use vercel.json redirects with the x-vercel-ip-country header condition
to route mainland China visitors to the ICP-licenced server.
2026-05-27 10:04:29 +08:00
siujamo f71e557a31 docs: add readme 2026-05-27 09:22:41 +08:00
siujamo a38cb70a21 docs: rewrite README in British English 2026-05-27 09:21:12 +08:00
zihluwang e1d9349f67 ci: delete unused github action configuration file 2026-05-27 00:50:02 +08:00
zihluwang a33a357187 Create deploy-page.yml 2026-05-26 19:11:38 +08:00
zihluwang d0a31f777d ci: github actions trigger 2026-05-26 19:00:33 +08:00
zihluwang 742afb456d ci: add github actions to deploy pages to github pages 2026-05-26 18:52:17 +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
siujamo b4c9232d78 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	docs/en-gb/_nav.json
#	docs/zh-hans/_nav.json
#	i18n.json
2026-05-26 16:29:07 +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
siujamo 806ebd4cb6 refactor: re-organise doc structure 2026-05-22 11:48:09 +08:00
jamo.siu@gmail.com 54ecd30a98 chore: collapse className to single line and adjust Author margin 2026-05-21 21:16:58 -05: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
jamo.siu@gmail.com ce0a00d25e feat: support external className prop on Author component
Also restores beforeOutline passthrough in DocLayout.
2026-05-21 20:42:26 -05:00
siujamo 9cafd724b2 fix: switch avatar hash from SHA-256 to MD5 for Cravatar
Cravatar requires MD5 hash, not SHA-256.
2026-05-21 03:00:25 -05:00
siujamo 4caafff015 refactor: migrate gravatar to cravatar 2026-05-21 02:41:02 -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