Commit Graph
4 Commits
Author SHA1 Message Date
Vickey 14faabedc7 style: apply consistent formatting across GitHub workflows, docs and common modules 2026-05-19 00:15:07 +08:00
Vickey 48f5d2f0e9 docs(site): import legacy operation manual from dc3-docs
The dc3-docs VuePress 1.x source repository has the original
Markdown for the operation manual. Migrate four pages whose
content survives unchanged in the current product flow:
driver / template / device / data, plus a hand-written
operation/index.md as the section landing page. Add the
corresponding Web UI screenshots under docs/public/images/legacy/
(the full assets/images tree from the old site, ~169 files).

- Replace the Ant Design Vue <a-alert> component in data.md with
  a VitePress ::: tip container.
- Rewrite /assets/images/ to /images/legacy/ so paths resolve
  under VitePress's public/ static-asset convention with the
  /iot-dc3/ base.
- Add a "操作手册" entry to the top nav and a per-section sidebar
  in .vitepress/config.mts.

Skipped from dc3-docs:
- operation/0-index.md - "待开发中" placeholder.
- function/{api,driver}.md - "🚧施工中🚧" placeholders.
- function/0-directory.md - obsolete (refers to dc3-common as a
  separate repo and lists mongo/redis/mysql common modules that
  no longer exist).
- function/storage.md - lists mongodb/influxdb/opentsdb as
  supported storage; the project ships PostgreSQL only.

Verification: pnpm docs:build passes (5.26s). The five operation
pages render; image src attributes resolve to
/iot-dc3/images/legacy/operation/<page>/<uuid>.png and the files
exist in dist/.
2026-05-18 20:50:56 +08:00
pnoker a69bf2e007 feat: add CNAME:doc.dc3.site 2023-04-14 01:00:08 +08:00
pnoker 0b4972b709 feat: new docs 2023-04-14 00:38:49 +08:00