From 001384bd9af11f35e4b030c7787b46f8193ef2cc Mon Sep 17 00:00:00 2001 From: Zheng Chen Date: Wed, 18 Sep 2024 02:51:06 +0800 Subject: [PATCH] docs: fix broken links (#841) --- ui/docs/docs/basics/what-is-workspace.md | 2 +- .../current/basics/what-is-workspace.md | 2 +- ui/docs/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/docs/docs/basics/what-is-workspace.md b/ui/docs/docs/basics/what-is-workspace.md index 8aeb375e1..e2698c729 100644 --- a/ui/docs/docs/basics/what-is-workspace.md +++ b/ui/docs/docs/basics/what-is-workspace.md @@ -38,7 +38,7 @@ For different user scenarios, it is best to provide specific distributions that Below are some distributions we provide as references. You can create your own distributions based on your needs. -- [@yuants/dist-origin](distributions/origin): Native distribution [Click to experience online](https://y.ntnl.io?from_npm=1&scope=yuants&name=dist-origin) +- [@yuants/dist-origin](https://github.com/No-Trade-No-Life/Yuan/tree/main/distributions/origin): Native distribution [Click to experience online](https://y.ntnl.io?from_npm=1&scope=yuants&name=dist-origin) The essence of a distribution is a workspace, and the essence of a workspace is a file directory and its contents. We can package a workspace into a distribution, and then users can download and unzip it to use. We recommend using the npm package management tool to manage distributions, i.e., distributions will be published to the npm repository, and users can install distributions via npm. diff --git a/ui/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/basics/what-is-workspace.md b/ui/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/basics/what-is-workspace.md index 6ab5f93db..a73b3f634 100644 --- a/ui/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/basics/what-is-workspace.md +++ b/ui/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/basics/what-is-workspace.md @@ -38,7 +38,7 @@ Yuan 是一个功能强大的操作系统,但它也太过于底层、原始和 以下,是我们提供的一些发行版,作为参考。您可以根据自己的需求,创建自己的发行版。 -- [@yuants/dist-origin](distributions/origin): 原生发行版 [点击在线体验](https://y.ntnl.io?from_npm=1&scope=yuants&name=dist-origin) +- [@yuants/dist-origin](https://github.com/No-Trade-No-Life/Yuan/tree/main/distributions/origin): 原生发行版 [点击在线体验](https://y.ntnl.io?from_npm=1&scope=yuants&name=dist-origin) 发行版的本质是一个工作区,工作区的本质是一个文件目录及其中的内容。我们可以将工作区打包成一个发行版,然后用户可以下载并解压缩,即可使用。我们推荐使用 npm 包管理工具来管理发行版,即发行版会发布到 npm 仓库,用户可以通过 npm 安装发行版。 diff --git a/ui/docs/package.json b/ui/docs/package.json index 14d90e8cf..aa7dfb8e9 100644 --- a/ui/docs/package.json +++ b/ui/docs/package.json @@ -5,7 +5,7 @@ "scripts": { "docusaurus": "docusaurus", "start": "docusaurus start", - "build": "docusaurus build 2>err.log || echo hello", + "build": "docusaurus build 2>err.log || echo view err.log", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", "clear": "docusaurus clear",