Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Commit

Permalink
docs: remove favicon and logo, upgrade docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
feichao93 committed Aug 5, 2021
1 parent 6779314 commit 109ec9f
Show file tree
Hide file tree
Showing 6 changed files with 214 additions and 885 deletions.
12 changes: 2 additions & 10 deletions packages/website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,13 @@ module.exports = {
url: 'https://ali-react-table.js.org',
baseUrl: '/',
onBrokenLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'alibaba',
projectName: 'ali-react-table',

themeConfig: {
navbar: {
hideOnScroll: true,
title: 'ali-react-table',
logo: {
alt: 'ali-react-table Logo',
src: 'img/logo.svg',
},
items: [
{
to: 'docs',
Expand All @@ -28,7 +23,7 @@ module.exports = {
},
{ to: 'examples', label: '示例', position: 'left' },
{ to: 'blog', label: '博客', position: 'left' },
{ href: 'https://ali-react-table.js.org/v1/', label: '1.x 文档', position: 'left' },
{ href: 'https://shinima.github.io/ali-react-table-v1-doc/', label: '1.x 文档', position: 'left' },
{
href: 'https://github.com/alibaba/ali-react-table',
label: 'GitHub',
Expand Down Expand Up @@ -84,10 +79,7 @@ module.exports = {
editUrl: 'https://github.com/alibaba/ali-react-table/edit/master/packages/blog/',
},
theme: {
customCss: [
require.resolve('./src/css/custom.scss'),
require.resolve('./src/css/fusion.css'),
],
customCss: [require.resolve('./src/css/custom.scss'), require.resolve('./src/css/fusion.css')],
},
},
],
Expand Down
8 changes: 4 additions & 4 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
]
},
"devDependencies": {
"@docusaurus/core": "2.0.0-beta.3",
"@docusaurus/preset-classic": "2.0.0-beta.3",
"@docusaurus/theme-live-codeblock": "2.0.0-beta.3",
"@docusaurus/core": "2.0.0-beta.4",
"@docusaurus/preset-classic": "2.0.0-beta.4",
"@docusaurus/theme-live-codeblock": "2.0.0-beta.4",
"@mdx-js/react": "^1.5.8",
"sass": "^1.32.12",
"docusaurus-plugin-sass": "^0.1.10",
"docusaurus-plugin-sass": "^0.2.1",
"raw-loader": "^4.0.2",
"ts-loader": "^9.1.1",
"tsconfig-paths-webpack-plugin": "^3.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/website/src/assets/FusionBaseTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const StyledBaseTable = styled(BaseTable)`
` as unknown as typeof BaseTable

/**
* Ant Design 风格的基础表格组件.
* Alibaba Fusion Design 风格的基础表格组件.
*
* FusionBaseTable 在 ali-react-table 提供的 BaseTable 基础上定制了默认的表格样式
*
Expand Down
Binary file removed packages/website/static/img/favicon.ico
Binary file not shown.
21 changes: 0 additions & 21 deletions packages/website/static/img/logo.svg

This file was deleted.

Loading

0 comments on commit 109ec9f

Please sign in to comment.