mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-11-29 18:48:50 +08:00
docs: fix readme and actions (#2416)
* Revert "docs: fix gitee ci (#2382)" This reverts commit 5bfbcb173ccac33e26e42955880de206ce1714a6. * fix gh-pages action * fix readme and remove help-wanted action * fix changelog preivew script
This commit is contained in:
parent
27ba4e647e
commit
9668c6cf26
21
.github/workflows/issue-labeled.yml
vendored
21
.github/workflows/issue-labeled.yml
vendored
@ -1,21 +0,0 @@
|
||||
name: Issue Labeled
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [labeled]
|
||||
|
||||
jobs:
|
||||
issue-labeled:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: help wanted
|
||||
if: github.event.label.name == 'help wanted'
|
||||
uses: actions-cool/issues-helper@v1.8
|
||||
with:
|
||||
actions: 'create-comment'
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
body: |
|
||||
Hello @${{ github.event.issue.user.login }}. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please fill the [Pull Request Template](https://github.com/ant-design-blazor/ant-design-blazor/blob/master/.github/PULL_REQUEST_TEMPLATE.md) here, provide changelog/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!
|
||||
|
||||
你好 @${{ github.event.issue.user.login }},我们完全同意你的提议/反馈,欢迎直接在此仓库创建一个 Pull Request 来解决这个问题。请务必填写 Pull Request 内的[预设模板](https://github.com/ant-design-blazor/ant-design-blazor/blob/master/.github/PULL_REQUEST_TEMPLATE.md),提供改动所需相应的 changelog、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。
|
18
.github/workflows/release-AOT.yml
vendored
18
.github/workflows/release-AOT.yml
vendored
@ -52,6 +52,14 @@ jobs:
|
||||
dotnet build
|
||||
dotnet publish ./site/AntDesign.Docs.Wasm -c Release -f net6 -o cargo -p:EnableAOT=true
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GH_PUSH_TOKEN }}
|
||||
publish_branch: gh-pages
|
||||
publish_dir: ./cargo/wwwroot
|
||||
force_orphan: true
|
||||
|
||||
- name: Deploy to Github.io 🚀
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
@ -63,18 +71,10 @@ jobs:
|
||||
force_orphan: true
|
||||
tag_name: ${{ steps.publish.outputs.package_version }}
|
||||
|
||||
- name: Sync repo to Gitee 💕
|
||||
- name: Sync to Gitee 💕
|
||||
uses: wearerequired/git-mirror-action@master
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_PRIVATE_KEY }}
|
||||
with:
|
||||
source-repo: "git@github.com:ant-design-blazor/ant-design-blazor.git"
|
||||
destination-repo: "git@gitee.com:ant-design-blazor/ant-design-blazor.git"
|
||||
|
||||
- name: Sync website to Gitee 💕
|
||||
uses: wearerequired/git-mirror-action@master
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_PRIVATE_KEY }}
|
||||
with:
|
||||
source-repo: "git@github.com:ant-design-blazor/ant-design-blazor.github.io.git"
|
||||
destination-repo: "git@gitee.com:ant-design-blazor/website.git"
|
||||
|
@ -32,7 +32,7 @@
|
||||
- 💕 支持基于 WebAssembly 的客户端和基于 SignalR 的服务端 UI 事件交互。
|
||||
- 🎨 支持渐进式 Web 应用(PWA)
|
||||
- 🛡 使用 C# 构建,多范式静态语言带来高效的开发体验。
|
||||
- ⚙️ 基于 .NET Standard 2.1 / .NET 5,可直接引用丰富的 .NET 类库。
|
||||
- ⚙️ 基于 .NET Standard 2.1 / .NET 5 / .NET 6,可直接引用丰富的 .NET 类库。
|
||||
- 🎁 可与已有的 ASP.NET Core MVC、Razor Pages 项目无缝集成。
|
||||
|
||||
## 🌈 在线示例
|
||||
@ -44,8 +44,8 @@ WebAssembly 静态托管页面示例
|
||||
|
||||
## 🖥 支持环境
|
||||
|
||||
- .NET Core 3.1 / .NET 5。
|
||||
- Blazor WebAssembly 3.2 /.NET 5 正式版。
|
||||
- .NET Core 3.1 / .NET 5 / .NET 6。
|
||||
- Blazor WebAssembly 3.2 /.NET 5 /.NET 6 正式版。
|
||||
- 支持服务端双向绑定。
|
||||
- 支持 WebAssembly 静态文件部署。
|
||||
- 主流 4 款现代浏览器,以及 Internet Explorer 11+(限 [Blazor Server](https://docs.microsoft.com/en-us/aspnet/core/blazor/supported-platforms?view=aspnetcore-3.1&WT.mc_id=DT-MVP-5003987))。
|
||||
@ -74,7 +74,7 @@ WebAssembly 静态托管页面示例
|
||||
|
||||
## 📦 安装
|
||||
|
||||
- 先安装 [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet-core/3.1?WT.mc_id=DT-MVP-5003987) 3.1.300 以上版本,推荐 .NET 5
|
||||
- 先安装 [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet-core/3.1?WT.mc_id=DT-MVP-5003987) 3.1 以上版本,推荐 .NET 6。
|
||||
|
||||
### 从模板创建一个新项目 [![Pro 模板](https://img.shields.io/nuget/v/AntDesign.Templates?color=%23512bd4&label=Pro%20模板&style=flat-square)](https://github.com/ant-design-blazor/ant-design-pro-blazor)
|
||||
|
||||
@ -155,7 +155,7 @@ WebAssembly 静态托管页面示例
|
||||
|
||||
## ⌨️ 本地开发
|
||||
|
||||
- 先安装 [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet/5.0?WT.mc_id=DT-MVP-5003987) 5.0.100 以上版本
|
||||
- 先安装 [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet/6.0?WT.mc_id=DT-MVP-5003987) 6.0.100 以上版本
|
||||
- 安装 Node.js(只用于样式文件和互操作所需 TS 文件的构建)
|
||||
- 克隆到本地开发
|
||||
|
||||
@ -169,7 +169,7 @@ WebAssembly 静态托管页面示例
|
||||
|
||||
- 打开浏览器访问 https://localhost:5001 ,详情参考[本地开发文档](https://github.com/ant-design-blazor/ant-design-blazor/wiki)。
|
||||
|
||||
> 推荐使用 Visual Studio 2019 开发。
|
||||
> 推荐使用 Visual Studio 2022 开发。
|
||||
|
||||
## 🔗 链接
|
||||
|
||||
|
10
README.md
10
README.md
@ -32,7 +32,7 @@ English | [简体中文](README-zh_CN.md)
|
||||
- 💕 Supports WebAssembly-based client-side and SignalR-based server-side UI event interaction.
|
||||
- 🎨 Supports Progressive Web Applications (PWA).
|
||||
- 🛡 Build with C#, a multi-paradigm static language for an efficient development experience.
|
||||
- ⚙️ .NET Standard 2.1/.NET 5 based, with direct reference to the rich .NET ecosystem.
|
||||
- ⚙️ .NET Standard 2.1/.NET 5/.NET 6 based, with direct reference to the rich .NET ecosystem.
|
||||
- 🎁 Seamless integration with existing ASP.NET Core MVC and Razor Pages projects.
|
||||
|
||||
## 🌈 Online Examples
|
||||
@ -44,7 +44,7 @@ WebAssembly static hosting examples:
|
||||
|
||||
## 🖥 Environment Support
|
||||
|
||||
- .NET Core 3.1 / .NET 5
|
||||
- Compatible with .NET Core 3.1 / .NET 5 / .NET 6。
|
||||
- Blazor WebAssembly 3.2/.NET 5 Release
|
||||
- Supports two-way binding on the server side
|
||||
- Supports WebAssembly static file deployment
|
||||
@ -74,7 +74,7 @@ Therefore, you can use the custom theme styles of Ant Design directly.
|
||||
|
||||
## 📦 Installation Guide
|
||||
|
||||
- Install [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet-core/3.1?WT.mc_id=DT-MVP-5003987) 3.1.300 or later, .NET 5 is even better.
|
||||
- Install [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet-core/3.1?WT.mc_id=DT-MVP-5003987) 3.1.300 or later, .NET 6 is even better.
|
||||
|
||||
### Create a new project from the dotnet new template [![AntDesign.Templates](https://img.shields.io/nuget/v/AntDesign.Templates?color=%23512bd4&label=Templates&style=flat-square)](https://github.com/ant-design-blazor/ant-design-pro-blazor)
|
||||
|
||||
@ -161,7 +161,7 @@ Options for the template:
|
||||
|
||||
## ⌨️ Local Development
|
||||
|
||||
- Install [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet/5.0?WT.mc_id=DT-MVP-5003987) 5.0.100 or later.
|
||||
- Install [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet/6.0?WT.mc_id=DT-MVP-5003987) 6.0.100 or later.
|
||||
- Install Node.js (only for building style files and interoperable TypeScript files)
|
||||
- Clone to local development
|
||||
|
||||
@ -175,7 +175,7 @@ Options for the template:
|
||||
|
||||
- Visit https://localhost:5001 in your supported browser and check [local development documentation](https://github.com/ant-design-blazor/ant-design-blazor/wiki) for details.
|
||||
|
||||
> Visual Studio 2019 is recommended for development.
|
||||
> Visual Studio 2022 is recommended for development.
|
||||
|
||||
## 🔗 Links
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user