Skip to content

Commit

Permalink
docs: enhance docs site (#3366)
Browse files Browse the repository at this point in the history
  • Loading branch information
vthinkxie authored Apr 25, 2019
1 parent d7bc903 commit 963f415
Show file tree
Hide file tree
Showing 23 changed files with 14 additions and 90 deletions.
Binary file removed scripts/site/_site/doc/android-chrome-192x192.png
Binary file not shown.
Binary file removed scripts/site/_site/doc/android-chrome-384x384.png
Binary file not shown.
14 changes: 7 additions & 7 deletions scripts/site/_site/doc/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ <h2>Ant Design</h2>
<span> - </span><span><i nz-icon type="github"></i></span>
</div>
<div>
<a href="https://ant.design/docs/react/introduce-cn" target="_blank">Ant Design</a>
<a href="https://ant.design/docs/react/introduce-cn" target="_blank" rel="noopener noreferrer">Ant Design</a>
<span> - </span><span>React</span>
</div>
<div>
<a href="http://ng.mobile.ant.design" target="_blank">NG-ZORRO-MOBILE</a>
<a href="http://ng.mobile.ant.design" target="_blank" rel="noopener noreferrer">NG-ZORRO-MOBILE</a>
<span> - </span><span>Angular</span>
</div>
<div>
Expand All @@ -89,10 +89,10 @@ <h2>Ant Design</h2>
<div class="footer-center">
<h2>{{language==='zh'?'资源链接':'Resources'}}</h2>
<div>
<a href="https://angular.cn" target="_blank">Angular</a>
<a href="https://angular.cn" target="_blank" rel="noopener noreferrer">Angular</a>
</div>
<div>
<a href="https://cli.angular.io/" target="_blank">Angular CLI</a>
<a href="https://cli.angular.io/" target="_blank" rel="noopener noreferrer">Angular CLI</a>
</div>
<div>
<a target="_blank" rel="noopener noreferrer" href="http://library.ant.design/">AntD Library</a>
Expand All @@ -103,13 +103,13 @@ <h2>{{language==='zh'?'资源链接':'Resources'}}</h2>
<div class="footer-center">
<h2>{{language==='zh'?'社区':'Community'}}</h2>
<div>
<a *ngIf="language==='zh'" href="https://zhuanlan.zhihu.com/100000" target="_blank"><span>知乎专栏</span></a>
<a *ngIf="language==='zh'" href="https://zhuanlan.zhihu.com/100000" target="_blank" rel="noopener noreferrer"><span>知乎专栏</span></a>
</div>
<div>
<a href="https://medium.com/ng-zorro" target="_blank"><span>Medium</span></a>
<a href="https://medium.com/ng-zorro" target="_blank" rel="noopener noreferrer"><span>Medium</span></a>
</div>
<div>
<a href="https://github.com/NG-ZORRO/ng-zorro-antd/releases" target="_blank"><span>{{language==='zh'?'更新记录':'Change Log'}}</span></a>
<a href="https://github.com/NG-ZORRO/ng-zorro-antd/releases" target="_blank" rel="noopener noreferrer"><span>{{language==='zh'?'更新记录':'Change Log'}}</span></a>
</div>
<div>
<a target="_blank" rel="noopener noreferrer" [href]="'http://ng.ant.design/issue-helper/#/'+language">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="code-box-title">
<a (click)="navigateToFragment()"
>{{ nzTitle }}
<a class="edit-button" [attr.href]="nzHref" target="_blank" style="">
<a class="edit-button" [attr.href]="nzHref" target="_blank" rel="noopener noreferrer" style="">
<i nz-icon type="edit"></i>
</a>
</a>
Expand Down
Binary file removed scripts/site/_site/doc/apple-touch-icon.png
Binary file not shown.
Binary file removed scripts/site/_site/doc/assets/icons/icon-128x128.png
Binary file not shown.
Binary file removed scripts/site/_site/doc/assets/icons/icon-144x144.png
Binary file not shown.
Binary file removed scripts/site/_site/doc/assets/icons/icon-152x152.png
Binary file not shown.
Binary file removed scripts/site/_site/doc/assets/icons/icon-192x192.png
Binary file not shown.
Binary file not shown.
Binary file removed scripts/site/_site/doc/assets/icons/icon-512x512.png
Binary file not shown.
Binary file removed scripts/site/_site/doc/assets/icons/icon-72x72.png
Binary file not shown.
Binary file removed scripts/site/_site/doc/assets/icons/icon-96x96.png
Binary file not shown.
9 changes: 0 additions & 9 deletions scripts/site/_site/doc/browserconfig.xml

This file was deleted.

Binary file removed scripts/site/_site/doc/favicon-16x16.png
Binary file not shown.
Binary file removed scripts/site/_site/doc/favicon-32x32.png
Binary file not shown.
13 changes: 2 additions & 11 deletions scripts/site/_site/doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,8 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=9BPzWXo4an">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=9BPzWXo4an">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=9BPzWXo4an">
<link rel="manifest" href="/site.webmanifest?v=9BPzWXo4an">
<link rel="mask-icon" href="/safari-pinned-tab.svg?v=9BPzWXo4an" color="#5bbad5">
<link rel="shortcut icon" href="/favicon.ico?v=9BPzWXo4an">
<meta name="apple-mobile-web-app-title" content="NG-ZORRO">
<meta name="application-name" content="NG-ZORRO">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
<meta name="description" content="An enterprise-class UI design language and Angular-based implementation with a set of high-quality Angular components, one of best Angular UI library for enterprises">
<link rel="icon" href="https://img.alicdn.com/tfs/TB1Jr2ASQvoK1RjSZFDXXXY3pXa-200-200.png" type="image/x-icon">
<title>NG-ZORRO - Ant Design Of Angular</title>
<base href="/">
<!-- Hotjar Tracking Code for ng.ant.design -->
Expand All @@ -26,7 +18,6 @@
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
<meta name="theme-color" content="#1890ff">
</head>
<body>
Expand Down
Binary file removed scripts/site/_site/doc/mstile-150x150.png
Binary file not shown.
42 changes: 0 additions & 42 deletions scripts/site/_site/doc/safari-pinned-tab.svg

This file was deleted.

19 changes: 0 additions & 19 deletions scripts/site/_site/doc/site.webmanifest

This file was deleted.

2 changes: 2 additions & 0 deletions scripts/site/_site/doc/style/doc-search.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions scripts/site/_site/doc/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
@import './responsive';
@import './patch';
@import './drawer';
@import './doc-search.min.css';
2 changes: 1 addition & 1 deletion scripts/site/template/title.template.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1>{{title}}<span class="subtitle">{{subtitle}}</span><span class="widget">{{widget}}</span>
<a class="edit-button" href="https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/{{path}}" target="_blank">
<a class="edit-button" href="https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/{{path}}" target="_blank" rel="noopener noreferrer">
<i nz-icon type="edit"></i></a>
</h1>

0 comments on commit 963f415

Please sign in to comment.