Skip to content

Commit 979fdd6

Browse files
authored
chore: Update docusaurus (#4954)
1 parent a5988b9 commit 979fdd6

28 files changed

Lines changed: 1390 additions & 2027 deletions

pnpm-lock.yaml

Lines changed: 1115 additions & 1755 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/.eslintrc.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const config = {
2222
'**/*.map',
2323
'**/coverage/**',
2424
'**/dist/**',
25+
'**/build/**',
2526
'**/node_modules/**',
2627
'**/.docusaurus/**',
2728
],
@@ -39,12 +40,6 @@ const config = {
3940
plugins: ['@typescript-eslint'],
4041
rules: {
4142
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
42-
'node/no-missing-import': [
43-
'error',
44-
{
45-
tryExtensions: ['.js', '.d.ts', '.ts', '.tsx'],
46-
},
47-
],
4843
},
4944
},
5045
{

website/blog/2019-05-28-first-blog-post.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ authors:
77
url: https://github.com/wgao19
88
image_url: https://github.com/wgao19.png
99
tags: [hola, docusaurus]
10-
# cspell:locale en,lorem
1110
# cspell:ignore hola
11+
# cspell:dictionary lorem-ipsum
1212
---
1313

1414
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

website/blog/2019-05-29-long-blog-post.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ slug: long-blog-post
33
title: Long Blog Post
44
authors: endi
55
tags: [hello, docusaurus]
6-
# cspell:locale en,lorem
76
# cspell:ignore endi
7+
# cspell:dictionary lorem-ipsum
88
---
99

1010
This is the summary of a very long blog post,

website/blog/2021-08-26-welcome/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ slug: welcome
33
title: Welcome
44
authors: [slorber, yangshun]
55
tags: [facebook, hello, docusaurus]
6-
# cspell:ignore plushie slorber yangshun
6+
# cspell:ignore slorber yangshun Plushie
77
---
88

99
[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).

website/blog/authors.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
endi: # cspell:ignore endi Endilie Yacop Sucipto
1+
endi:
22
name: Endilie Yacop Sucipto
33
title: Maintainer of Docusaurus
44
url: https://github.com/endiliey
55
image_url: https://github.com/endiliey.png
66

7-
yangshun: # cspell:ignore Yangshun
7+
yangshun:
88
name: Yangshun Tay
99
title: Front End Engineer @ Facebook
1010
url: https://github.com/yangshun
1111
image_url: https://github.com/yangshun.png
1212

13-
slorber: # cspell:ignore slorber Sébastien Lorber
13+
slorber:
1414
name: Sébastien Lorber
1515
title: Docusaurus maintainer
1616
url: https://sebastienlorber.com
1717
image_url: https://github.com/slorber.png
18+
#cspell:ignore endi yangshun slorber Endilie Yacop Sucipto Sébastien Lorber

website/cspell.config.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
dictionaryDefinitions:
2+
- name: workspace
3+
path: ../cspell-dict.txt
4+
description: Custom Workspace Dictionary
5+
addWords: true
6+
scope: workspace
7+
ignorePaths:
8+
- "*.svg"
9+
- /build
10+
- cspell.json
11+
languageSettings:
12+
- languageId: typescript,typescriptreact,json,css,yaml
13+
words:
14+
- clsx
15+
- typecheck
16+
- browserslist
17+
- padding-horiz
18+
- Infima
19+
enableFiletypes:
20+
- mdx
21+
words:
22+
- callouts
23+
- jamstack

website/cspell.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

website/docs/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new
1414

1515
### What you'll need
1616

17-
- [Node.js](https://nodejs.org/en/download/) version 14 or above:
17+
- [Node.js](https://nodejs.org/en/download/) version 18.0 or above:
1818
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.
1919

2020
## Generate a new site

website/docs/tutorial-basics/congratulations.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ Anything **unclear** or **buggy** in this tutorial? [Please report it!](https://
1414

1515
## What's next?
1616

17-
- Read the [official documentation](https://docusaurus.io/).
17+
- Read the [official documentation](https://docusaurus.io/)
18+
- Modify your site configuration with [`docusaurus.config.js`](https://docusaurus.io/docs/api/docusaurus-config)
19+
- Add navbar and footer items with [`themeConfig`](https://docusaurus.io/docs/api/themes/configuration)
1820
- Add a custom [Design and Layout](https://docusaurus.io/docs/styling-layout)
1921
- Add a [search bar](https://docusaurus.io/docs/search)
2022
- Find inspirations in the [Docusaurus showcase](https://docusaurus.io/showcase)

0 commit comments

Comments
 (0)