Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3a9f0e3

Browse filesBrowse files
committed
More
1 parent fd9dd31 commit 3a9f0e3
Copy full SHA for 3a9f0e3

File tree

Expand file treeCollapse file tree

4 files changed

+2878
-3012
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+2878
-3012
lines changed

‎docs-v2/README.md

Copy file name to clipboardExpand all lines: docs-v2/README.md
+12-12Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,32 @@
22

33
This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator.
44

5-
### Installation
5+
## Installation
66

7-
```
8-
$ yarn
7+
```console
8+
yarn install
99
```
1010

11-
### Local Development
11+
## Local Development
1212

13-
```
14-
$ yarn start
13+
```console
14+
yarn start
1515
```
1616

1717
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
1818

19-
### Build
19+
## Build
2020

21-
```
22-
$ yarn build
21+
```console
22+
yarn build
2323
```
2424

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

27-
### Deployment
27+
## Deployment
2828

29-
```
30-
$ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
29+
```console
30+
GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
3131
```
3232

3333
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.

‎docs-v2/docusaurus.config.js

Copy file name to clipboardExpand all lines: docs-v2/docusaurus.config.js
+3-5Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
/** @type {import('@docusaurus/types').DocusaurusConfig} */
12
module.exports = {
23
title: 'My Site',
34
tagline: 'The tagline of my site',
45
url: 'https://your-docusaurus-test-site.com',
56
baseUrl: '/',
67
onBrokenLinks: 'throw',
8+
onBrokenMarkdownLinks: 'warn',
79
favicon: 'img/favicon.ico',
810
organizationName: 'facebook', // Usually your GitHub org/user name.
911
projectName: 'docusaurus', // Usually your repo name.
@@ -36,13 +38,9 @@ module.exports = {
3638
title: 'Docs',
3739
items: [
3840
{
39-
label: 'Style Guide',
41+
label: 'Getting Started',
4042
to: 'docs/',
4143
},
42-
{
43-
label: 'Second Doc',
44-
to: 'docs/doc2/',
45-
},
4644
],
4745
},
4846
{

‎docs-v2/package.json

Copy file name to clipboardExpand all lines: docs-v2/package.json
+11-8Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "docusaurus-example",
2+
"name": "docs-v-2",
33
"version": "0.0.0",
44
"private": true,
55
"scripts": {
@@ -8,19 +8,22 @@
88
"build": "docusaurus build",
99
"swizzle": "docusaurus swizzle",
1010
"deploy": "docusaurus deploy",
11-
"serve": "docusaurus serve"
11+
"clear": "docusaurus clear",
12+
"serve": "docusaurus serve",
13+
"write-translations": "docusaurus write-translations",
14+
"write-heading-ids": "docusaurus write-heading-ids"
1215
},
1316
"dependencies": {
14-
"@docusaurus/core": "2.0.0-alpha.63",
15-
"@docusaurus/preset-classic": "2.0.0-alpha.63",
16-
"@mdx-js/react": "^1.5.8",
17+
"@docusaurus/core": "2.0.0-alpha.72",
18+
"@docusaurus/preset-classic": "2.0.0-alpha.72",
19+
"@mdx-js/react": "^1.6.21",
1720
"clsx": "^1.1.1",
18-
"react": "^16.8.4",
19-
"react-dom": "^16.8.4"
21+
"react": "^17.0.1",
22+
"react-dom": "^17.0.1"
2023
},
2124
"browserslist": {
2225
"production": [
23-
">0.2%",
26+
">0.5%",
2427
"not dead",
2528
"not op_mini all"
2629
],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.