From 19c073d744f1f038be72d9bce9010efe5730058c Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Thu, 18 Feb 2021 10:00:08 +0800 Subject: [PATCH] chore: add env & fix link --- .umirc.dev.ts | 4 ++++ README.en-US.md | 2 +- README.md | 2 +- docs/guide/faq.en-US.md | 2 +- docs/guide/faq.md | 2 +- package.json | 1 + 6 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .umirc.dev.ts diff --git a/.umirc.dev.ts b/.umirc.dev.ts new file mode 100644 index 0000000..68cfc3a --- /dev/null +++ b/.umirc.dev.ts @@ -0,0 +1,4 @@ +export default { + base: '/', + publicPath: '/', +}; diff --git a/README.en-US.md b/README.en-US.md index fe92e98..cd00a17 100644 --- a/README.en-US.md +++ b/README.en-US.md @@ -1126,7 +1126,7 @@ Click the `···` icon in the upper right corner of a comment, select `Copy lin ## Actions Template - You can directly use this [GitHub Actions workflow template](https://github.com/actions-cool/.github) repositorie template -- Personal exercises and tests [Actions](https://github.com/xrkffgg/test-ci) repository +- Personal exercises and tests [Actions](https://github.com/actions-cool/test-issues-helper) repository - Can also refer to the warehouse of [online users](#who-is-using) ## ⚡ Feedback diff --git a/README.md b/README.md index 2e55402..b2bafb7 100644 --- a/README.md +++ b/README.md @@ -1121,7 +1121,7 @@ x2 + y2 ## Actions 模板 - 可直接使用这个 [GitHub Actions workflow template](https://github.com/actions-cool/.github) 仓库的模板 -- 个人练习和测试 [Actions](https://github.com/xrkffgg/test-ci) 的仓库 +- 个人练习和测试 [Actions](https://github.com/actions-cool/test-issues-helper) 的仓库 - 也可以来 [线上使用者](#谁在使用) 的仓库参照 ## ⚡ 反馈 diff --git a/docs/guide/faq.en-US.md b/docs/guide/faq.en-US.md index 3a46b4f..91503f0 100644 --- a/docs/guide/faq.en-US.md +++ b/docs/guide/faq.en-US.md @@ -15,7 +15,7 @@ Yes. The bottom layer of Action uses GitHub REST API. The general situation is 5 Yes. 1. You can use this [GitHub Actions workflow template](https://github.com/actions-cool/.github) repository template -2. Personal exercises and tests [Actions](https://github.com/xrkffgg/test-ci) repository +2. Personal exercises and tests [Actions](https://github.com/actions-cool/test-issues-helper) repository 3. You can also refer to the warehouse of [online users](/en-US#-who-is-using) ## I want to pause Actions, is there an easy way? diff --git a/docs/guide/faq.md b/docs/guide/faq.md index 8f02327..8013bbb 100644 --- a/docs/guide/faq.md +++ b/docs/guide/faq.md @@ -15,7 +15,7 @@ GitHub Actions 是由 GitHub 免费提供的。其中 `Private` 项目每月有 有的。 1. 你可以使用这个 [GitHub Actions workflow template](https://github.com/actions-cool/.github) 仓库的模板 -2. 个人练习和测试 [Actions](https://github.com/xrkffgg/test-ci) 的仓库 +2. 个人练习和测试 [Actions](https://github.com/actions-cool/test-issues-helper) 的仓库 3. 也可以来 [线上使用者](/#-谁在使用?) 的仓库参照 ## 我想暂停 Actions,有没有简单的办法? diff --git a/package.json b/package.json index 87fa121..2ec44ef 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "scripts": { "start": "dumi dev", "docs:build": "dumi build", + "docs-dev:build": "UMI_ENV=dev dumi build", "docs:deploy": "gh-pages -d docs-dist", "deploy": "npm run docs:build && npm run docs:deploy", "format": "prettier --write **/*.ts **/*.js",