Browse Source

docs: v4 default branche

richard1015 3 years ago
parent
commit
333dfef70c

+ 1 - 1
.github/workflows/sync-gitcode.yml

@@ -2,7 +2,7 @@ name: Sync to Gitcode
 
 on:
   push:
-    branches: [next]
+    branches: [v4]
 
 jobs:
   deploy-site-sync-gitcode:

+ 1 - 1
.github/workflows/sync-gitee.yml

@@ -2,7 +2,7 @@ name: Sync to Gitee
 
 on:
   push:
-    branches: [next]
+    branches: [v4]
 
 jobs:
   deploy-site-sync-gitee:

+ 2 - 2
README.md

@@ -37,7 +37,7 @@
     <img src="https://img.shields.io/github/issues-closed/jdf2e/nutui" alt="GitHub closed issues">
     </a>  
     <a href="https://github.com/jdf2e/nutui">
-    <img src="https://img.shields.io/github/commits-since/jdf2e/nutui/latest/next" alt="GitHub commits since latest release (by date)">
+    <img src="https://img.shields.io/github/commits-since/jdf2e/nutui/latest/v4" alt="GitHub commits since latest release (by date)">
     </a>
     <a href="https://github.com/jdf2e/nutui">
     <img src="https://img.shields.io/github/release-date/jdf2e/nutui" alt="GitHub Release Date">
@@ -109,7 +109,7 @@ createApp(App).use(NutUI).mount("#app");
 
 [NutUI 实战快速入门](https://www.bilibili.com/video/BV14r4y1e7LK/?spm_id_from=333.999.0.0&vd_source=339cf5dcca71ec2905c729fd92bba8a9)
 
-[awesome-nutui](https://github.com/jdf2e/nutui/blob/next/awesome.md)
+[awesome-nutui](https://github.com/jdf2e/nutui/blob/v4/awesome.md)
 
 
 ## 主题

+ 2 - 2
README_EN.md

@@ -37,7 +37,7 @@
     <img src="https://img.shields.io/github/issues-closed/jdf2e/nutui" alt="GitHub closed issues">
     </a>  
     <a href="https://github.com/jdf2e/nutui">
-    <img src="https://img.shields.io/github/commits-since/jdf2e/nutui/latest/next" alt="GitHub commits since latest release (by date)">
+    <img src="https://img.shields.io/github/commits-since/jdf2e/nutui/latest/v4" alt="GitHub commits since latest release (by date)">
     </a>
     <a href="https://github.com/jdf2e/nutui">
     <img src="https://img.shields.io/github/release-date/jdf2e/nutui" alt="GitHub Release Date">
@@ -109,7 +109,7 @@ createApp(App).use(NutUI).mount("#app");
 
 [NutUI Quick Start](https://www.bilibili.com/video/BV14r4y1e7LK)
 
-[Awesome-NutUI](https://github.com/jdf2e/nutui/blob/next/awesome.md)
+[Awesome-NutUI](https://github.com/jdf2e/nutui/blob/v4/awesome.md)
 
 
 ## Themes

+ 1 - 1
src/packages/__VUE/uploader/doc.en-US.md

@@ -300,7 +300,7 @@ export default {
 import { ref } from 'vue';
 export default {
   setup() {
-      // source file https://github.com/jdf2e/nutui/blob/next/src/packages/__VUE/uploader/uploader.ts#L51
+      // source file https://github.com/jdf2e/nutui/blob/v4/src/packages/__VUE/uploader/uploader.ts#L51
      const beforeXhrUpload=(xhr:XMLHttpRequest,options:any)=>{
         if (options.method.toLowerCase() == 'put') {
           xhr.send(options.sourceFile);

+ 1 - 1
src/packages/__VUE/uploader/doc.md

@@ -300,7 +300,7 @@ export default {
 import { ref } from 'vue';
 export default {
   setup() {
-    // source file https://github.com/jdf2e/nutui/blob/next/src/packages/__VUE/uploader/uploader.ts#L51
+    // source file https://github.com/jdf2e/nutui/blob/v4/src/packages/__VUE/uploader/uploader.ts#L51
      const beforeXhrUpload=(xhr:XMLHttpRequest,options:any)=>{
         if (options.method.toLowerCase() == 'put') {
           xhr.send(options.sourceFile);

+ 1 - 1
src/packages/__VUE/uploader/doc.taro.md

@@ -90,7 +90,7 @@ app.use(Progress);
 import { ref } from 'vue';
 export default {
   setup() {
-    // source file https://github.com/jdf2e/nutui/blob/next/src/packages/__VUE/uploader/uploader.ts#L6
+    // source file https://github.com/jdf2e/nutui/blob/v4/src/packages/__VUE/uploader/uploader.ts#L6
     const beforeXhrUpload = (taroUploadFile: any, options: any) => {
       //taroUploadFile  是 Taro.uploadFile , 你也可以自定义设置其它函数
       const uploadTask = taroUploadFile({

+ 2 - 2
src/packages/locale/README.md

@@ -10,13 +10,13 @@
 | 简体中文     | zh-CN  | `v3.1.19` |
 | 繁體中文     | zh-TW  | `v3.1.19` |
 
-> 在 [这里](https://github.com/jdf2e/nutui/tree/next/src/packages/locale/lang) 查看所有的语言包源文件。
+> 在 [这里](https://github.com/jdf2e/nutui/tree/v4/src/packages/locale/lang) 查看所有的语言包源文件。
 
 ## 常见问题
 
 ### 找不到所需的语言包?
 
-如果上方列表中没有你需要的语言,欢迎给我们提 Pull Request 来增加新的语言包。改动内容可以参考 [语言包](https://github.com/jdf2e/nutui/tree/next/src/packages/locale/lang) 语言包 的 PR
+如果上方列表中没有你需要的语言,欢迎给我们提 Pull Request 来增加新的语言包。改动内容可以参考 [语言包](https://github.com/jdf2e/nutui/tree/v4/src/packages/locale/lang) 语言包 的 PR
 
 ### 业务代码如何实现国际化?