Skip to content

feat(docs): data-source / existing-system extension docs, homepage card, and blog#10

Merged
os-zhuang merged 2 commits into
mainfrom
docs/data-sources-blog
May 30, 2026
Merged

feat(docs): data-source / existing-system extension docs, homepage card, and blog#10
os-zhuang merged 2 commits into
mainfrom
docs/data-sources-blog

Conversation

@xuyushun441-sys
Copy link
Copy Markdown
Contributor

What & why

Adds the "connect an existing business system, model its tables as objects, and make it AI-native" story across docs, homepage, and a new blog — one of ObjectOS's most practical adoption paths.

Note: this branch also re-includes the Korean (ko) locale commit. PR #9 merged the pre-Korean revision (GitHub head-propagation lag at merge time), so ko never landed on main. It's carried here as the first commit so the new pages can be translated into all 7 locales consistently.

Docs

  • New reference page configure/data-sources.mdxDatasource shape, the four shipped drivers, defineStack({ datasources, datasourceMapping }), per-object datasource binding, capability-aware ObjectQL pushdown, and AI uniform query. The working scan tables → generate source-level objects flow is documented as using a coding agent (Claude Code) against the connected DB, in the real ../hotcrm ObjectSchema.create shape.
  • Roadmap clearly fenced — in-product External Datasource Federation (ADR-0015, Proposed) is labeled as not-yet-shipped; no fabricated CLI (os datasource introspect).
  • New scenario page extend-existing-systems.mdx (sibling to why.mdx).
  • Registered both in sidebar / root meta across all 7 locales.
  • Full translations of both pages into zh-Hans, ja, de, es, fr, ko.

Homepage

  • New lead feature card "Extend the Systems You Already Run" → /docs/configure/data-sources (Database icon).
  • Populated homepage-i18n for ja, de, es, fr, ko (previously only en + zh-Hans).

Blog (enabled)

  • Wired i18n into the blog loader + route (locale-aware getPages/getPage, generateParams, localized chrome, date locale, back link).
  • Added Blog nav link across all 7 locales.
  • First post extend-existing-systems-with-ai.mdx on this topic + 6 locale translations.

Verification

  • pnpm --filter @objectos/docs type-check
  • pnpm --filter @objectos/docs build ✅ — 509 static pages, all locale + blog routes generate.

Accuracy guardrails

English is the single source of truth (other locales derive). Only shipped datasource building blocks are documented as current; federation is roadmap. Credentials are env-based throughout; no secrets inlined.

os-zhuang added 2 commits May 30, 2026 13:43
Adds ko as the 7th supported locale, mirroring the ja/de/es/fr setup.

- i18n: register 'ko'; LANGUAGE_NAMES '한국어'; nav labels (문서/다운로드/변경 내역)
- middleware: map ko / ko-KR -> ko for browser language detection
- 7 meta.ko.json sidebar files (구축/설정/권한/배포/운영/참조/리소스)
- Full Korean translation of all 50 docs pages (*.ko.mdx)

Translation prompt now enforces YAML-safe frontmatter (quote any title/
description containing a colon), preventing the build break fixed in 299b599.
All 349 frontmatter blocks validate; type-check and docs build pass.
UI strings in homepage-i18n/download-i18n fall back to English (same as
ja/de/es/fr); legal pages (privacy/terms) fall back to English by design.
… blog

Add the "connect an existing business system, model its tables as objects,
and make it AI-native" story across docs, homepage, and a new blog.

Docs
- New reference page configure/data-sources.mdx: Datasource shape, shipped
  drivers, defineStack({ datasources, datasourceMapping }), per-object
  binding, capability-aware ObjectQL pushdown, AI uniform query. The
  working "scan tables -> generate source-level objects" flow is documented
  as using a coding agent (Claude Code) against the connected DB, in the
  ../hotcrm ObjectSchema.create shape. ADR-0015 federation is clearly
  fenced as Roadmap (not shipped).
- New scenario page extend-existing-systems.mdx (sibling to why.mdx).
- Registered both in sidebar/root meta across all 7 locales.
- Full translations of both pages into zh-Hans, ja, de, es, fr, ko.

Homepage
- New lead feature card "Extend the Systems You Already Run" ->
  /docs/configure/data-sources (Database icon).
- Populated homepage-i18n for ja, de, es, fr, ko (previously en/zh only).

Blog
- Wired i18n into the blog loader and route (locale-aware getPages/getPage,
  generateParams, localized chrome + date locale + back link).
- Added Blog nav link across all 7 locales.
- First post extend-existing-systems-with-ai.mdx + 6 locale translations.

type-check and production build pass (509 static pages).
@os-zhuang os-zhuang merged commit 5c9bfdd into main May 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants