Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:memo: https://github.com/siyuan-note/siyuan/issues/18018

Daniel22b000cfb6ef
diff --git a/AGENTS.md b/AGENTS.md
index 06c1de075c..18075b2e95 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -42,7 +42,7 @@ All Go libraries above are dependencies in `kernel/go.mod`. GitHub org: `siyuan-
- **Editing any Go dependency (Lute / dejavu / gulu / eventbus / riff / filelock / httpclient / logging / go-sqlite3 / pdfcpu / epub / …):** these are imported by the kernel as Go modules (`kernel/go.mod`). To test a local change, add a temporary `replace` in `kernel/go.mod` pointing at your local checkout — but **never commit that `replace`**; it breaks builds for everyone else.
- **Rebuilding `lute.min.js`:** it's the JS build of the Go `lute` project — generated upstream and checked into `app/stage/protyle/js/lute/`. Don't edit it here; change `lute`, rebuild, and copy the artifact in.
- **Mobile apps (`siyuan-android` / `siyuan-ios` / `siyuan-harmony`):** each is a separate native app that wraps the kernel built from this repo. For how to build, vendor the kernel binding, and wire everything up, **read each project's own README** — the toolchains and steps differ per platform and aren't documented here.
-- **`siyuan-chrome`:** independent TypeScript project; it only interacts with a running SiYuan instance through the public HTTP API documented in `API.md`.
+- **`siyuan-chrome`:** independent TypeScript project; it only interacts with a running SiYuan instance through the public HTTP API documented in `docs/API.md`.
---
@@ -120,7 +120,7 @@ Four webpack configs each emit a separate bundle to `app/stage/build/{app,deskto
3. **Frontend verification:** Do not use `npx webpack` or `pnpm dev` to verify changes; after changes, run `cd app && pnpm run lint` to check code style
4. **Frontend build:** Do NOT run `pnpm build` — the developer runs `pnpm dev` manually, and `pnpm build` will conflict with it, producing broken bundles
5. **Icons:** Do not hand-write SVG; use existing icons from `app/appearance/icons/litheness/icon.js` when possible
-6. **User guide:** When editing the user guide, follow `SY-FORMAT.md`
+6. **User guide:** When editing the user guide, follow `docs/SY-FORMAT.md`
---
diff --git a/README.ja.md b/README.ja.md
index 87ebb7d061..c43d19d65f 100644
--- a/README.ja.md
+++ b/README.ja.md
@@ -109,7 +109,7 @@ SiYuanは、プライバシーを最優先とする個人の知識管理シス
- JavaScript/CSSスニペット
- Android/iOS/HarmonyOSアプリ
- Dockerデプロイメント
-- [API](https://github.com/siyuan-note/siyuan/blob/master/API.md)
+- [API](https://github.com/siyuan-note/siyuan/blob/master/docs/API.md)
- コミュニティマーケットプレイス
一部の機能は有料会員のみ利用可能です。詳細については[価格](https://b3log.org/siyuan/en/pricing.html)をご覧ください。
diff --git a/README.md b/README.md
index 311f52c168..21f074542d 100644
--- a/README.md
+++ b/README.md
@@ -110,7 +110,7 @@ Most features are free, even for commercial use.
- JavaScript/CSS snippet
- Android/iOS/HarmonyOS App
- Docker deployment
-- [API](https://github.com/siyuan-note/siyuan/blob/master/API.md)
+- [API](https://github.com/siyuan-note/siyuan/blob/master/docs/API.md)
- Community marketplace
Some features are only available to paid members, for more details please refer to [Pricing](https://b3log.org/siyuan/en/pricing.html).
diff --git a/README.tr.md b/README.tr.md
index 3290755892..8af6482377 100644
--- a/README.tr.md
+++ b/README.tr.md
@@ -110,7 +110,7 @@ Daha fazla bilgi için [SiYuan İngilizce Tartışma Forumu](https://liuyun.io)
- JavaScript/CSS kod parçacıkları
- Android / iOS / HarmonyOS uygulamaları
- Docker dağıtımı
-- [API](https://github.com/siyuan-note/siyuan/blob/master/API.md)
+- [API](https://github.com/siyuan-note/siyuan/blob/master/docs/API.md)
- Topluluk pazaryeri
Bazı özellikler yalnızca ücretli üyeler için geçerlidir. Detaylar için [Fiyatlandırma](https://b3log.org/siyuan/en/pricing.html) sayfasına göz atabilirsin.
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 94f84e1d90..9e71f66926 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -113,7 +113,7 @@
- JavaScript/CSS 代码片段
- Android/iOS/鸿蒙 App
- Docker 部署
-- [API](API.zh-CN.md)
+- [API](docs/API.zh-CN.md)
- 社区集市
部分功能需要付费会员才能使用,更多细节请参考[定价](https://b3log.org/siyuan/pricing.html)。
diff --git a/API.ja.md b/docs/API.ja.md
similarity index 100%
rename from API.ja.md
rename to docs/API.ja.md
diff --git a/API.md b/docs/API.md
similarity index 100%
rename from API.md
rename to docs/API.md
diff --git a/API.zh-CN.md b/docs/API.zh-CN.md
similarity index 100%
rename from API.zh-CN.md
rename to docs/API.zh-CN.md
diff --git a/SY-FORMAT.md b/docs/SY-FORMAT.md
similarity index 100%
rename from SY-FORMAT.md
rename to docs/SY-FORMAT.md
diff --git a/SY-FORMAT.zh-CN.md b/docs/SY-FORMAT.zh-CN.md
similarity index 100%
rename from SY-FORMAT.zh-CN.md
rename to docs/SY-FORMAT.zh-CN.md
diff --git a/WORKSPACE.md b/docs/WORKSPACE.md
similarity index 100%
rename from WORKSPACE.md
rename to docs/WORKSPACE.md
diff --git a/WORKSPACE.zh-CN.md b/docs/WORKSPACE.zh-CN.md
similarity index 100%
rename from WORKSPACE.zh-CN.md
rename to docs/WORKSPACE.zh-CN.md