Skip to content

Commit

Permalink
From Create-React-App 2 Docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed Mar 19, 2021
1 parent d688c92 commit 0919bc3
Show file tree
Hide file tree
Showing 343 changed files with 12,066 additions and 23,063 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Generated files
.docusaurus
.cache-loader
79 changes: 21 additions & 58 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,70 +1,33 @@
# Getting Started with Create React App
# Website

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator.

## Available Scripts
## Installation

In the project directory, you can run:
```console
yarn install
```

### `yarn start`
## Local Development

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
```console
yarn start
```

The page will reload if you make edits.\
You will also see any lint errors in the console.
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

### `yarn test`
## Build

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
```console
yarn build
```

### `yarn build`
This command generates static content into the `build` directory and can be served using any static contents hosting service.

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
## Deployment

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
```console
GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
```

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `yarn eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `yarn build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
11 changes: 11 additions & 0 deletions blog/2019-05-28-hola.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
slug: hola
title: Hola
author: Gao Wei
author_title: Docusaurus Core Team
author_url: https://github.com/wgao19
author_image_url: https://avatars1.githubusercontent.com/u/2055384?v=4
tags: [hola, docusaurus]
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
17 changes: 17 additions & 0 deletions blog/2019-05-29-hello-world.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
slug: hello-world
title: Hello
author: Endilie Yacop Sucipto
author_title: Maintainer of Docusaurus
author_url: https://github.com/endiliey
author_image_url: https://avatars1.githubusercontent.com/u/17883920?s=460&v=4
tags: [hello, docusaurus]
---

Welcome to this blog. This blog is created with [**Docusaurus 2 alpha**](https://v2.docusaurus.io/).

<!--truncate-->

This is a test post.

A whole bunch of other information.
13 changes: 13 additions & 0 deletions blog/2019-05-30-welcome.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
slug: welcome
title: Welcome
author: Yangshun Tay
author_title: Front End Engineer @ Facebook
author_url: https://github.com/yangshun
author_image_url: https://avatars0.githubusercontent.com/u/1315101?s=400&v=4
tags: [facebook, hello, docusaurus]
---

Blog features are powered by the blog plugin. Simply add files to the `blog` directory. It supports tags as well!

Delete the whole directory if you don't want the blog features. As simple as that!
Binary file added docs/assets/01_en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/01_mathwallet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/02_claim_choosechain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/02_en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/03_claim_search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/03_en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/04_claim_choosechain的副本.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/04_en的副本.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/05_claim_submitaccount.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/05_en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/06_claim_sign.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/06_en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/07_claim_copy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/07_en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/08_claim_chooseaccount.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/08_en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/09_claim_sign2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/09_en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/10_claim_success.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/10_en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/architecture-cn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/architecture-en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/contribute-edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/crab-tut-create-account-1-cn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/crab-tut-create-account-1-en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/crab-tut-create-account-2-cn.png
Binary file added docs/assets/crab-tut-create-account-3-cn.png
Binary file added docs/assets/crab-tut-create-account-4-cn.png
Binary file added docs/assets/crab-tut-create-account-5-cn.png
Binary file added docs/assets/crab-tut-nominator-1.png
Binary file added docs/assets/crab-tut-nominator-2.png
Binary file added docs/assets/crab-tut-nominator-3.png
Binary file added docs/assets/darwinia-banner.png
Binary file added docs/assets/darwinia-logo-cn.png
Binary file added docs/assets/darwinia-logo.png
Binary file added docs/assets/darwinia-roadmap-cn.png
Binary file added docs/assets/darwinia-roadmap.png
Binary file added docs/assets/dev-account-setting-cn.png
Binary file added docs/assets/dev-account-setting-en.png
Binary file added docs/assets/dev_identity_1.png
Binary file added docs/assets/dev_identity_2.png
Binary file added docs/assets/dev_identity_3.png
Binary file added docs/assets/dev_identity_4.png
Binary file added docs/assets/dev_identity_5.png
Binary file added docs/assets/dev_identity_6.png
Binary file added docs/assets/dev_identity_7.png
Binary file added docs/assets/distribution-cn.png
Binary file added docs/assets/distribution-en.png
Binary file added docs/assets/faucet-1-cn.png
Binary file added docs/assets/faucet-1.png
Binary file added docs/assets/faucet-2-cn.png
Binary file added docs/assets/faucet-2.png
Binary file added docs/assets/faucet-3-cn.png
Binary file added docs/assets/faucet-3.png
Binary file added docs/assets/faucet-4.png
Binary file added docs/assets/nft-identifiability.png
Binary file added docs/assets/nominate-1-en.png
Binary file added docs/assets/nominate-2-en.png
Binary file added docs/assets/nominate-3-en.png
Binary file added docs/assets/nominate-9-en.png
Binary file added docs/assets/nominate-9.png
Binary file added docs/assets/overview.png
Binary file added docs/assets/para-mode-cn.png
Binary file added docs/assets/para-mode-crowd-cn.png
Binary file added docs/assets/para-mode-crowd-en.png
Binary file added docs/assets/para-mode-en.png
Binary file added docs/assets/polkadot-js-1-cn.png
Binary file added docs/assets/polkadot-js-2-cn.png
Binary file added docs/assets/polkadot-js-3-cn.png
Binary file added docs/assets/polkadot-js-4-cn.png
Binary file added docs/assets/rfc-en-0001-darwinia.png
Binary file added docs/assets/rfc-en-0001-polkadot.jpeg
Binary file added docs/assets/rfc-en-0002-formula-1.jpeg
Binary file added docs/assets/rfc-en-0002-formula-2.jpeg
Binary file added docs/assets/rfc-en-0002-kton-gas-model.png
Binary file added docs/assets/rfc-en-0006-darwinia-appchain.png
Binary file added docs/assets/rfc-en-0007-darwinia-token-1.jpeg
Binary file added docs/assets/rfc-en-0007-darwinia-token-2.jpeg
Binary file added docs/assets/rfc-en-0007-darwinia-token-3.jpeg
Binary file added docs/assets/rfc-en-0010-UNFO-transform.jpg
Binary file added docs/assets/rfc-en-backing_contract.png
Loading

0 comments on commit 0919bc3

Please sign in to comment.