chore(v2): Regen codesandbox templates + add template: "docusaurus" (#4063)

This commit is contained in:
Sébastien Lorber 2021-01-19 16:13:14 +01:00 committed by GitHub
parent b93d95b9e0
commit c6ce46ac72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 3522 additions and 3388 deletions

View file

@ -13,6 +13,7 @@ module.exports = {
url: 'https://your-docusaurus-test-site.com',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'facebook', // Usually your GitHub org/user name.
projectName: 'docusaurus', // Usually your repo name.
@ -97,14 +98,6 @@ module.exports = {
label: 'Terms',
href: 'https://opensource.facebook.com/legal/terms/',
},
{
label: 'Data Policy',
href: 'https://opensource.facebook.com/legal/data-policy/',
},
{
label: 'Cookie Policy',
href: 'https://opensource.facebook.com/legal/cookie-policy/',
},
],
},
],

View file

@ -9,6 +9,7 @@
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"serve": "docusaurus serve",
"clear": "docusaurus clear",
"ci": "yarn lint && yarn prettier:diff",
"lint": "eslint --cache \"**/*.js\" && stylelint \"**/*.css\"",
"prettier": "prettier --config .prettierrc --write \"**/*.{js,md}\"",
@ -16,9 +17,9 @@
"dev": "docusaurus start"
},
"dependencies": {
"@docusaurus/core": "2.0.0-alpha.66",
"@docusaurus/preset-classic": "2.0.0-alpha.66",
"@mdx-js/react": "^1.5.8",
"@docusaurus/core": "2.0.0-alpha.70",
"@docusaurus/preset-classic": "2.0.0-alpha.70",
"@mdx-js/react": "^1.6.21",
"clsx": "^1.1.1",
"react": "^16.8.4",
"react-dom": "^16.8.4"
@ -38,7 +39,7 @@
},
"browserslist": {
"production": [
">0.2%",
">0.5%",
"not dead",
"not op_mini all"
],

View file

@ -2,5 +2,5 @@
"infiniteLoopProtection": true,
"hardReloadOnChange": true,
"view": "browser",
"template": "node"
}
"template": "docusaurus"
}

File diff suppressed because it is too large Load diff