Skip to content

Commit

Permalink
Update site home page docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed May 20, 2021
1 parent 53e4f4d commit 4ad3bb6
Show file tree
Hide file tree
Showing 141 changed files with 24 additions and 10,045 deletions.
15 changes: 5 additions & 10 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
const path = require('path');

module.exports = {
title: 'Crab Network',
title: 'Crab Docs',
tagline: 'The tagline of my site',
url: 'https://crab.network.l2me.com/',
url: 'https://docs.crab.network.l2me.com/',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.svg',
organizationName: 'darwinia-network', // Usually your GitHub org/user name.
projectName: 'crab.network', // Usually your repo name.
projectName: 'crab-docs', // Usually your repo name.
themeConfig: {
colorMode: {
// disableSwitch: true,
Expand All @@ -24,12 +24,6 @@ module.exports = {
src: 'img/favicon.svg',
},
items: [
{
to: 'docs/',
activeBasePath: 'docs',
label: 'Docs',
position: 'right',
},
// {to: 'blog', label: 'Blog', position: 'left'},
{
href: 'https://github.com/darwinia-network/darwinia/tree/master/runtime/crab',
Expand Down Expand Up @@ -96,7 +90,8 @@ module.exports = {
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl: 'https://github.com/darwinia-network/crab-home/edit/main/',
editUrl: 'https://github.com/darwinia-network/crab-docs/',
routeBasePath: '/',
},
blog: {
showReadingTime: true,
Expand Down
11 changes: 1 addition & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,10 @@
"@docusaurus/core": "2.0.0-alpha.71",
"@docusaurus/preset-classic": "2.0.0-alpha.71",
"@mdx-js/react": "^1.6.21",
"antd": "^4.14.0",
"clsx": "^1.1.1",
"docusaurus-plugin-sass": "^0.1.12",
"history": "^5.0.0",
"i18next": "^19.9.2",
"i18next-browser-languagedetector": "^6.0.1",
"parallax-js": "^3.1.0",
"react": "^17.0.1",
"react-animate-on-scroll": "^2.1.5",
"react-bootstrap": "^1.5.2",
"react-dom": "^17.0.1",
"react-i18next": "^11.8.10",
"react-router-dom": "^5.2.0"
"react-dom": "^17.0.1"
},
"browserslist": {
"production": [
Expand Down
23 changes: 0 additions & 23 deletions src/components/Divider/index.jsx

This file was deleted.

27 changes: 0 additions & 27 deletions src/components/Divider/style.module.scss

This file was deleted.

52 changes: 0 additions & 52 deletions src/css/bootstrap/scss/_alert.scss

This file was deleted.

54 changes: 0 additions & 54 deletions src/css/bootstrap/scss/_badge.scss

This file was deleted.

42 changes: 0 additions & 42 deletions src/css/bootstrap/scss/_breadcrumb.scss

This file was deleted.

Loading

0 comments on commit 4ad3bb6

Please sign in to comment.