mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-11-01 18:51:53 +08:00
* docs(site): consolidate top-level nav pillars and rehome technology-stack
This consolidates the docs site nav into 5 pillars and aligns the
technology-stack page URL with its new home inside the develop pillar.
Pillar restructure (docs/.vitepress/config.mts + locales):
* architecture absorbs the previous Overview pillar — its pages now
live under a '项目总览' group, with the existing architecture
detail groups following.
* AI is extracted out of Develop into a top-level pillar between
Drivers and Foundations. The previously orphaned
ai/spring-ai-deep-dive page is now reachable from the sidebar.
* Operations is merged into Develop. The Develop sidebar runs 6
groups ordered by reader workflow:
快速开始 → 部署与运维 → 开发 → 前端 → 自动化 → 运营.
File move:
* introduction/technology-stack.md -> development/technology-stack.md
(zh + en) so the page URL matches its sidebar home.
The zh / en locale files keep identical key sets (141 keys, no diff).
* fix(docs): unify navbar background and fix sidebar scrollbar overlap
Make the VitePress navbar visually consistent across home, sidebar doc,
and 404 layouts, and fix layout issues introduced by the frosted navbar:
- Force a single translucent frosted layer on .VPNavBar (overriding the
theme's per-state opaque backgrounds) so the header looks identical on
every page and scroll state.
- Reserve the scrollbar gutter (scrollbar-gutter + overflow-y: scroll) so
the right-aligned menu no longer shifts between scrolling and short pages.
- Align the sidebar-page menu right edge to the home page across all widths,
fixing the +32px jump at 1440px caused by the theme's hard-coded breakpoint
vs the custom --vp-layout-max-width (1504px).
- Move the sidebar scroll from the fixed aside to its inner .nav so the
scrollbar starts below the header instead of showing through the frosted
navbar; keep it in the padding band so it doesn't shrink content width.
- Restyle the active/hover sidebar item as an aligned rounded pill with a
clean gap from the scrollbar; trim excess bottom padding.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* perf(docs): drop AdSense and preconnect analytics
Remove site-wide AdSense auto-ads injection. A technical docs site is
not a traffic site, and AdSense was the heaviest third-party script on
every one of the 188 pages plus a MutationObserver scanning the document.
Add preconnect hints for the retained GA4 and Baidu Tongji origins so
the first request is not blocked on a cold DNS/TLS handshake.
Co-Authored-By: Claude <noreply@anthropic.com>
* feat(docs): locale-aware SEO with per-section og images and JSON-LD dates
Rework transformHead in seo.mts:
- per-section Open Graph images reusing the existing screenshots and
architecture panoramas, with width/height/alt (was a single logo)
- TechArticle.datePublished from each file's first git commit (cached,
degrades to dateModified when git is unavailable)
- x-default now points at the English version (was Chinese)
- meta description length capped per locale (zh 80 / en 155) so CJK
pages are not truncated in SERPs
- collapse stray spaces between CJK glyphs after inline-markdown stripping
- fix self-referential home breadcrumb in BreadcrumbList
- root language gate gains canonical and hreflang alternates
- license header added to match the rest of the codebase
Root index.md gains a frontmatter description to replace the VitePress
default "A VitePress site".
Co-Authored-By: Claude <noreply@anthropic.com>
* fix(docs): bind topology aria-label correctly and meet AA contrast
- TopologyDiagram: the SVG aria-label was bound to the RabbitMQ bus band
name instead of describing the whole topology; add a dedicated aria
string for both locales and bind to it
- HeroWaves/HeroParticles: mark the decorative canvases aria-hidden with
role=presentation
- style.css: darken --dc3-arrow-label (#64748b -> #475569) and
--vp-c-text-3 (#6b7a89 -> #5b6976) so small diagram labels and tertiary
text clear WCAG AA 4.5:1 in light mode
Co-Authored-By: Claude <noreply@anthropic.com>
* chore(docs): drop unused deps and stale diagrams-src html
Remove five devDependencies never imported in source (cytoscape,
cytoscape-cose-bilkent, dayjs, debug, @braintree/sanitize-url) and
delete 15 zero-reference hand-drawn HTML files under
.vitepress/diagrams-src/ that predate the Vue diagram components.
Co-Authored-By: Claude <noreply@anthropic.com>
* i18n(docs): translate frontend test-debugging FAQ to Chinese
zh/frontend/test-debugging.md was a byte-identical copy of the English
version, so the Chinese sidebar entry served English content. Translate
it so the entry serves Chinese readers.
Co-Authored-By: Claude <noreply@anthropic.com>
* docs(home): surface the AI pillar and add keyword home titles
Add a seventh feature card for AI Integration. It was reachable only
from the top nav despite being the platform's headline differentiator.
Also add locale keyword titles to the home pages and make the hero
image alt descriptive.
Co-Authored-By: Claude <noreply@anthropic.com>
* chore(ci): route dependabot PRs to develop (#151)
dependabot.yml had no target-branch, so updates targeted the default
branch (main). main is the release branch and was red — compiler fixes
lived only on develop — which left every open dependabot PR BLOCKED.
Set target-branch: develop on all five ecosystems so upgrades land on
the integration branch first, get validated, then promote to main.
* build(deps): bump ossf/scorecard-action (#131)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 99c09fe975337306107572b4fdf4db224cf8e2f2 to 4eaacf0543bb3f2c246792bd56e8cdeffafb205a.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/99c09fe975337306107572b4fdf4db224cf8e2f2...4eaacf0543bb3f2c246792bd56e8cdeffafb205a)
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-version: 4eaacf0543bb3f2c246792bd56e8cdeffafb205a
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henry Zhang <pnokers@icloud.com>
* build(deps): bump softprops/action-gh-release (#134)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from c12583777ecdfd3be55c69cf75464299dc01057e to 3d0d9888cb7fd7b750713d6e236d1fcb99157228.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/c12583777ecdfd3be55c69cf75464299dc01057e...3d0d9888cb7fd7b750713d6e236d1fcb99157228)
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-version: 3d0d9888cb7fd7b750713d6e236d1fcb99157228
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henry Zhang <pnokers@icloud.com>
* build(deps): bump tools.jackson.core:jackson-databind (#136)
Bumps [tools.jackson.core:jackson-databind](https://github.com/FasterXML/jackson) from 3.1.4 to 3.1.5.
- [Commits](https://github.com/FasterXML/jackson/commits)
---
updated-dependencies:
- dependency-name: tools.jackson.core:jackson-databind
dependency-version: 3.1.5
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henry Zhang <pnokers@icloud.com>
* build(deps-dev): bump globals from 17.7.0 to 17.8.0 in /dc3-web (#137)
Bumps [globals](https://github.com/sindresorhus/globals) from 17.7.0 to 17.8.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v17.7.0...v17.8.0)
---
updated-dependencies:
- dependency-name: globals
dependency-version: 17.8.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henry Zhang <pnokers@icloud.com>
* build(deps-dev): bump @playwright/test from 1.61.1 to 1.62.0 in /dc3-web (#138)
Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.61.1...v1.62.0)
---
updated-dependencies:
- dependency-name: "@playwright/test"
dependency-version: 1.62.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henry Zhang <pnokers@icloud.com>
* build(deps-dev): bump sass from 1.101.0 to 1.102.0 in /dc3-web (#139)
Bumps [sass](https://github.com/sass/dart-sass) from 1.101.0 to 1.102.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.101.0...1.102.0)
---
updated-dependencies:
- dependency-name: sass
dependency-version: 1.102.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henry Zhang <pnokers@icloud.com>
* build(deps): bump docker/metadata-action from 5.10.0 to 6.2.0 (#130)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5.10.0 to 6.2.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/c299e40c65443455700f0fdfc63efafe5b349051...dc802804100637a589fabce1cb79ff13a1411302)
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-version: 6.2.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henry Zhang <pnokers@icloud.com>
* build(deps): bump actions/upload-pages-artifact from 3.0.1 to 5.0.0 (#135)
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 3.0.1 to 5.0.0.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases)
- [Commits](https://github.com/actions/upload-pages-artifact/compare/56afc609e74202658d3ffba0e8f6dda462b719fa...fc324d3547104276b827a68afc52ff2a11cc49c9)
---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
dependency-version: 5.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henry Zhang <pnokers@icloud.com>
* build(deps): bump com.squareup.okhttp3:okhttp-bom from 5.3.2 to 5.4.0 (#142)
Bumps [com.squareup.okhttp3:okhttp-bom](https://github.com/square/okhttp) from 5.3.2 to 5.4.0.
- [Changelog](https://github.com/lysine-dev/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-5.3.2...parent-5.4.0)
---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp-bom
dependency-version: 5.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henry Zhang <pnokers@icloud.com>
* build(deps): bump mybatis-plus 3.5.16 → 3.5.17 + adapt IService/ServiceImpl imports (#154)
mybatis-plus 3.5.17 fixes the JDK 9+ split-package conflict (#7027) by
relocating service classes from com.baomidou.mybatisplus.extension.service
to com.baomidou.mybatisplus.spring.service. Verified via the 3.5.17 jar:
only IService and ServiceImpl moved — Page, JacksonTypeHandler, chain
wrappers, Db, interceptors all stay in extension. Updated 112 imports.
Supersedes dependabot #141 (which failed compile on the same move).
Verified: mvn compile clean across every IService module (bacnet4j driver
excluded only due to a local mirror cache miss, unrelated to this change).
* build(deps): bump californium 4.0.0-M3 → 4.0.0-M6 + adapt CoapExchange import (#156)
M6 relocated CoapExchange from core.server.resources to core (verified
via compile). dc3-driver-coap uses only the core CoAP API
(CoapClient/Server/Endpoint/Resource/Configuration) and avoids the
DTLS/observe/MessageObserver areas where M3→M6 broke, so this single
import is the whole adaptation. Supersedes dependabot #81.
Gains: M4-M6 bugfixes (deferred CID records, CON notify reliability,
anonymous cipher-suite), Java 21 virtual-thread support, RFC 7252
compliance. 4.0.0 GA has no timeline; no reason to stall on M3.
* build(deps-dev): bump eslint-plugin-vue in /dc3-web (#140)
Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 10.9.2 to 10.10.0.
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Changelog](https://github.com/vuejs/eslint-plugin-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v10.9.2...v10.10.0)
---
updated-dependencies:
- dependency-name: eslint-plugin-vue
dependency-version: 10.10.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henry Zhang <pnokers@icloud.com>
Co-authored-by: pnoker <pnokers@gmail.com>
* fix(security): patch postcss/brace-expansion CVEs + link SECURITY.md
- VulnerabilitiesID: pnpm update postcss/brace-expansion (transitive)
— dc3-web: postcss 8.5.19+/8.5.25, brace-expansion 2.1.4/5.0.9
(CVE path-traversal / DoS); docs: postcss 8.5.25
- SecurityPolicyID: SECURITY.md add GitHub Security Advisory
(private vulnerability reporting) link as preferred channel
Fixes 4 dependabot alerts (PostCSS ×2, brace-expansion ×2).
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
24 lines
635 B
JSON
24 lines
635 B
JSON
{
|
|
"name": "iot-dc3",
|
|
"private": true,
|
|
"description": "IoT DC3 is a distributed industrial IoT platform for device access, data collection, and AI-assisted operations.",
|
|
"license": "AGPL-3.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/pnoker/iot-dc3"
|
|
},
|
|
"scripts": {
|
|
"dev": "vitepress dev",
|
|
"build": "vitepress build",
|
|
"preview": "vitepress preview",
|
|
"docs:dev": "vitepress dev",
|
|
"docs:build": "vitepress build",
|
|
"docs:preview": "vitepress preview"
|
|
},
|
|
"devDependencies": {
|
|
"medium-zoom": "^1.1.0",
|
|
"vitepress": "^1.6.4"
|
|
},
|
|
"packageManager": "pnpm@11.17.0"
|
|
}
|