mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-12 07:42:34 +02:00
chore: regen examples for 2.0 beta.18 (#7002)
This commit is contained in:
parent
ac5f26cfc1
commit
419399e50f
3 changed files with 561 additions and 606 deletions
|
@ -41,14 +41,14 @@ This is my **first Docusaurus document**!
|
||||||
|
|
||||||
It is also possible to create your sidebar explicitly in `sidebars.js`:
|
It is also possible to create your sidebar explicitly in `sidebars.js`:
|
||||||
|
|
||||||
```diff title="sidebars.js"
|
```js title="sidebars.js"
|
||||||
module.exports = {
|
module.exports = {
|
||||||
tutorialSidebar: [
|
tutorialSidebar: [
|
||||||
{
|
{
|
||||||
type: 'category',
|
type: 'category',
|
||||||
label: 'Tutorial',
|
label: 'Tutorial',
|
||||||
- items: [...],
|
// highlight-next-line
|
||||||
+ items: ['hello'],
|
items: ['hello'],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
10
package.json
10
package.json
|
@ -15,13 +15,13 @@
|
||||||
"dev": "docusaurus start"
|
"dev": "docusaurus start"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "2.0.0-beta.17",
|
"@docusaurus/core": "2.0.0-beta.18",
|
||||||
"@docusaurus/preset-classic": "2.0.0-beta.17",
|
"@docusaurus/preset-classic": "2.0.0-beta.18",
|
||||||
"@mdx-js/react": "^1.6.22",
|
"@mdx-js/react": "^1.6.22",
|
||||||
"clsx": "^1.1.1",
|
"clsx": "^1.1.1",
|
||||||
"prism-react-renderer": "^1.2.1",
|
"prism-react-renderer": "^1.3.1",
|
||||||
"react": "^17.0.1",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.1"
|
"react-dom": "^17.0.2"
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
"production": [
|
"production": [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue