An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
docs: change to conventionally named (#5082)
Percy Mae11332234030
diff --git a/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.mdsimilarity index 100%rename from CODE_OF_CONDUCT.mdrename to .github/CODE_OF_CONDUCT.mddiff --git a/DEV.md b/.github/CONTRIBUTING.mdsimilarity index 75%rename from DEV.mdrename to .github/CONTRIBUTING.mdindex 2b57cc6bb6..0fafdb7497 100644--- a/DEV.md+++ b/.github/CONTRIBUTING.md@@ -1,25 +1,33 @@-[中文](https://github.com/siyuan-note/siyuan/blob/master/DEV_zh_CN.md)+[中文](CONTRIBUTING_zh_CN.md)## Get the source code* `git clone --recurse-submodules [email protected]:siyuan-note/siyuan.git` For example saved in `D:/siyuan/`* switch to dev branch-## NPM dependencies+## User InterfaceInstall pnpm`npm install -g pnpm`-In China, it may be necessary to set the Electron mirror environment variable:+<details>+<summary>For China mainland</summary>+Set the Electron mirror environment variable:* macOS/Linux: ELECTRON_MIRROR="https://cnpmjs.org/mirrors/electron/" pnpm install [email protected] -D* Windows: `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`NPM mirror:-* May need to use mirror repository in China `pnpm --registry https://r.cnpmjs.org/ i`+* Use mirror repository `pnpm --registry https://r.cnpmjs.org/ i`* Revert to using official repository `pnpm --registry https://registry.npmjs.org i`+</details>++On the desktop, go to the app folder to compile and run:++* `pnpm run dev`+* `pnpm run start`## Kernel@@ -27,7 +35,8 @@ NPM mirror:* `cd kernel`* `go build --tags "fts5" -o "../app/kernel/SiYuan-Kernel.exe"`-* `SiYuan-Kernel.exe --wd=D:/siyuan/app --mode=dev`+* `cd ../app/kernel`+* `./SiYuan-Kernel.exe --wd=.. --mode=dev`### iOS@@ -41,11 +50,4 @@ NPM mirror:* `gomobile bind --tags fts5 -ldflags '-s -w' -v -o kernel.aar -target='android/arm,android/arm64' ./mobile/`* https://github.com/siyuan-note/siyuan-android-## User Interface--On the desktop, go to the app folder to compile and run:--* `npm run dev`-* `npm run start`-For the mobile-end, please refer to the corresponding project repository.diff --git a/DEV_zh_CN.md b/.github/CONTRIBUTING_zh_CN.mdsimilarity index 75%rename from DEV_zh_CN.mdrename to .github/CONTRIBUTING_zh_CN.mdindex c4c8153fa9..2772d52652 100644--- a/DEV_zh_CN.md+++ b/.github/CONTRIBUTING_zh_CN.md@@ -1,4 +1,4 @@-[English](https://github.com/siyuan-note/siyuan/blob/master/DEV.md)+[English](CONTRIBUTING.md)## 获取源码@@ -11,23 +11,31 @@`npm install -g pnpm`-在中国可能需要设置 Electron 镜像环境变量:+<details>+<summary>适用于中国大陆</summary>+设置 Electron 镜像环境变量:* macOS/Linux:ELECTRON_MIRROR="https://cnpmjs.org/mirrors/electron/" pnpm install [email protected] -D* Windows: `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`NPM 镜像:-* 在中国可能需要使用镜像仓库 `pnpm --registry https://r.cnpmjs.org/ i`+* 使用镜像仓库 `pnpm --registry https://r.cnpmjs.org/ i`* 恢复使用官方仓库 `pnpm --registry https://registry.npmjs.org i`+</details>+桌面端进入 app 文件夹编译和运行:++* `pnpm run dev`+* `pnpm run start`## 内核### 桌面端* `cd kernel`* `go build --tags "fts5" -o "../app/kernel/SiYuan-Kernel.exe"`-* `SiYuan-Kernel.exe --wd=D:/siyuan/app --mode=dev`+* `cd ../app/kernel`+* `./SiYuan-Kernel.exe --wd=.. --mode=dev`### iOS@@ -39,11 +47,4 @@ NPM 镜像:* `gomobile bind --tags fts5 -ldflags '-s -w' -v -o kernel.aar -target='android/arm,android/arm64' ./kernel/mobile/`* https://github.com/siyuan-note/siyuan-android-## 用户界面--桌面端进入 app 文件夹编译和运行:--* `npm run dev`-* `npm run start`-移动端请参考对应项目仓库。diff --git a/FUNDING.yml b/.github/FUNDING.ymlsimilarity index 100%rename from FUNDING.ymlrename to .github/FUNDING.ymldiff --git a/CHANGE_LOGS.md b/CHANGELOG.mdsimilarity index 100%rename from CHANGE_LOGS.mdrename to CHANGELOG.mddiff --git a/README.md b/README.mdindex 3fc609e628..ee43a10680 100644--- a/README.md+++ b/README.md@@ -10,7 +10,7 @@ Build Your Eternal Digital Garden</p><p align="center">-<a href="https://github.com/siyuan-note/siyuan/blob/master/README_zh_CN.md">中文</a>+<a href="README_zh_CN.md">中文</a></p>## 💡 Introduction@@ -79,7 +79,7 @@ Cloud services require a paid subscription.## 🗺️ Roadmap* [SiYuan development plan and progress](https://github.com/siyuan-note/siyuan/projects)-* [SiYuan Change logs](https://github.com/siyuan-note/siyuan/blob/master/CHANGE_LOGS.md)+* [SiYuan Change logs](CHANGELOG.md)## 🛠️ Download Setup@@ -176,7 +176,7 @@ SiYuan is completely open source, and contributions are welcome:* [Android](https://github.com/siyuan-note/siyuan-android)* [iOS](https://github.com/siyuan-note/siyuan-ios)-For more details, please refer to [Development Guide](https://github.com/siyuan-note/siyuan/blob/master/DEV.md).+For more details, please refer to [Development Guide](.github/CONTRIBUTING.md).### Is there any note for deleting docs?@@ -233,7 +233,7 @@ SiYuan is completely open source, and contributions are welcome:* [Android](https://github.com/siyuan-note/siyuan-android)* [iOS](https://github.com/siyuan-note/siyuan-ios)-For more details, please refer to [Development Guide](https://github.com/siyuan-note/siyuan/blob/master/DEV.md).+For more details, please refer to [Development Guide](.github/CONTRIBUTING.md).## 🙏 Acknowledgementdiff --git a/README_zh_CN.md b/README_zh_CN.mdindex e4bd426a1e..09adb0d467 100644--- a/README_zh_CN.md+++ b/README_zh_CN.md@@ -10,7 +10,7 @@</p><p align="center">-<a href="https://github.com/siyuan-note/siyuan/blob/master/README.md">English</a>+<a href="README.md">English</a></p>## 💡 简介@@ -66,7 +66,7 @@* Android APP* iOS APP* Docker 部署-* [API](https://github.com/siyuan-note/siyuan/blob/master/API_zh_CN.md)+* [API](API_zh_CN.md)### 付费订阅@@ -184,7 +184,7 @@* [Android 端](https://github.com/siyuan-note/siyuan-android)* [iOS 端](https://github.com/siyuan-note/siyuan-ios)-更多细节请参考[开发指南](https://github.com/siyuan-note/siyuan/blob/master/DEV_zh_CN.md)。+更多细节请参考[开发指南](.github/CONTRIBUTING_zh_CN.md)。### 删除文档有什么注意事项吗?@@ -241,7 +241,7 @@* [Android 端](https://github.com/siyuan-note/siyuan-android)* [iOS 端](https://github.com/siyuan-note/siyuan-ios)-更多细节请参考[开发指南](https://github.com/siyuan-note/siyuan/blob/master/DEV_zh_CN.md)。+更多细节请参考[开发指南](.github/CONTRIBUTING_zh_CN.md)。## 🙏 鸣谢