mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-29 08:57:03 +02:00
chore: re-generate 2.0.1 examples (#7872)
This commit is contained in:
parent
111b4cdcd2
commit
e8a11da805
7 changed files with 2087 additions and 2093 deletions
admin/scripts
|
@ -41,7 +41,8 @@ async function generateTemplateExample(template) {
|
|||
// too new and could generate upcoming/unavailable config options.
|
||||
// Remember CodeSandbox templates will use the published version,
|
||||
// not the repo version.
|
||||
`npm init docusaurus@latest examples/${template} ${command}`,
|
||||
// Using "yarn create" because "npm init" still try to use local pkg
|
||||
`yarn create docusaurus examples/${template} ${command}`,
|
||||
);
|
||||
|
||||
const templatePackageJson =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue