Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(showcase): fix missing older versions of documents #822

Merged
merged 2 commits into from
Dec 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

## Angular 支持

现在支持 Angular `^11.0.0`.
现在支持 Angular `^12.0.0`.

## 安装

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ This is the **Angular** implementation of **Ant Design Mobile** specification, s

## Angular Support

Now Supports Angular `^11.0.0`.
Now Supports Angular `^12.0.0`.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/introduce.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ This is the **Angular** implementation of **Ant Design Mobile** specification, s

## Angular Support

Now Supports Angular `^11.0.0`.
Now Supports Angular `^12.0.0`.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/introduce.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ title: Ant Design Mobile of Angular <div class="github-btn"><a class="gh-btn" hr

## 支持 Angular 版本

目前支持 Angular `^11.0.0` 版本。
目前支持 Angular `^12.0.0` 版本。

## 安装

Expand Down
13 changes: 3 additions & 10 deletions scripts/site/_site/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,19 @@ export class AppComponent implements OnInit, AfterViewInit {
language = 'zh';
versionList = [
'0.12.x',
'1.0.1',
'1.0.2',
'1.0.3',
'1.0.4',
'1.0.5',
'1.0.6',
'2.0.1',
'2.0.3',
'2.0.7',
'3.0.3',
'4.0.0',
'5.0.1'
];
versionMap = {
'0.12.x': '0.12.5',
'1.x': '2001.0.6',
'2.x': '2012.0.7',
'1.0.6': '2001.0.6',
'2.0.7': '2012.0.7',
'3.0.3': '2013.0.3',
'4.0.0': '2014.0.0',
'5.0.1': '2015.0.1'
'5.0.1': '2015.0.3'
};
currentVersion = '5.0.1';
isHomeURL = true;
Expand Down