From 10c3891abd221f411641fcaa02d6f73201fcfe5d Mon Sep 17 00:00:00 2001 From: YHH <359807859@qq.com> Date: Mon, 29 Dec 2025 11:29:42 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=E7=BC=BA=E5=A4=B1?= =?UTF-8?q?=E7=9A=84=E4=BE=A7=E8=BE=B9=E6=A0=8F=E5=AF=BC=E8=88=AA=E9=A1=B9?= =?UTF-8?q?=20|=20add=20missing=20sidebar=20items=20(#383)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - RPC: 添加 server, client, codec 页面 - Network: 添加 prediction, aoi, delta 页面 - Transaction: 添加完整模块导航 - Changelog: 添加 transaction, rpc 链接 --- docs/astro.config.mjs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index a1ee41d8..b388cacf 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -255,6 +255,9 @@ export default defineConfig({ translations: { en: 'RPC' }, items: [ { label: '概述', slug: 'modules/rpc', translations: { en: 'Overview' } }, + { label: '服务端', slug: 'modules/rpc/server', translations: { en: 'Server' } }, + { label: '客户端', slug: 'modules/rpc/client', translations: { en: 'Client' } }, + { label: '编解码', slug: 'modules/rpc/codec', translations: { en: 'Codec' } }, ], }, { @@ -265,9 +268,23 @@ export default defineConfig({ { label: '客户端', slug: 'modules/network/client', translations: { en: 'Client' } }, { label: '服务器', slug: 'modules/network/server', translations: { en: 'Server' } }, { label: '状态同步', slug: 'modules/network/sync', translations: { en: 'State Sync' } }, + { label: '客户端预测', slug: 'modules/network/prediction', translations: { en: 'Prediction' } }, + { label: 'AOI 兴趣区域', slug: 'modules/network/aoi', translations: { en: 'AOI' } }, + { label: '增量压缩', slug: 'modules/network/delta', translations: { en: 'Delta Compression' } }, { label: 'API 参考', slug: 'modules/network/api', translations: { en: 'API Reference' } }, ], }, + { + label: '事务系统', + translations: { en: 'Transaction' }, + items: [ + { label: '概述', slug: 'modules/transaction', translations: { en: 'Overview' } }, + { label: '核心概念', slug: 'modules/transaction/core', translations: { en: 'Core Concepts' } }, + { label: '存储层', slug: 'modules/transaction/storage', translations: { en: 'Storage Layer' } }, + { label: '操作', slug: 'modules/transaction/operations', translations: { en: 'Operations' } }, + { label: '分布式事务', slug: 'modules/transaction/distributed', translations: { en: 'Distributed' } }, + ], + }, { label: '世界流式加载', translations: { en: 'World Streaming' }, @@ -303,6 +320,8 @@ export default defineConfig({ { label: '@esengine/fsm', link: 'https://github.com/esengine/esengine/blob/master/packages/framework/fsm/CHANGELOG.md', attrs: { target: '_blank' } }, { label: '@esengine/timer', link: 'https://github.com/esengine/esengine/blob/master/packages/framework/timer/CHANGELOG.md', attrs: { target: '_blank' } }, { label: '@esengine/network', link: 'https://github.com/esengine/esengine/blob/master/packages/framework/network/CHANGELOG.md', attrs: { target: '_blank' } }, + { label: '@esengine/transaction', link: 'https://github.com/esengine/esengine/blob/master/packages/framework/transaction/CHANGELOG.md', attrs: { target: '_blank' } }, + { label: '@esengine/rpc', link: 'https://github.com/esengine/esengine/blob/master/packages/framework/rpc/CHANGELOG.md', attrs: { target: '_blank' } }, { label: '@esengine/cli', link: 'https://github.com/esengine/esengine/blob/master/packages/tools/cli/CHANGELOG.md', attrs: { target: '_blank' } }, ], },