You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running npm run examples will place all the placeholder files inside YOUR_SITE/website/YOUR_SITE/website/node_modules/docusaurus/examples/ instead of YOUR_SITE/website/ itself:
$ pwd
/Users/hramos/git/examples/docusample/website
$ ls -ltras
total 8
8 -rw-r--r-- 1 hramos THEFACEBOOK\Domain Users 314 Aug 7 14:31 package.json
0 drwxr-xr-x 4 hramos THEFACEBOOK\Domain Users 136 Aug 7 14:51 ..
0 drwxr-xr-x 258 hramos THEFACEBOOK\Domain Users 8772 Aug 7 14:55 node_modules
0 drwxr-xr-x 3 hramos THEFACEBOOK\Domain Users 102 Aug 7 14:55 docusample
0 drwxr-xr-x 5 hramos THEFACEBOOK\Domain Users 170 Aug 7 14:55 .
$ ls -ltras docusample/website/node_modules/docusaurus/examples/
total 16
0 drwxr-xr-x 3 hramos THEFACEBOOK\Domain Users 102 Aug 7 14:55 static
8 -rw-r--r-- 1 hramos THEFACEBOOK\Domain Users 2481 Aug 7 14:55 siteConfig.js
8 -rw-r--r-- 1 hramos THEFACEBOOK\Domain Users 174 Aug 7 14:55 sidebar.json
0 drwxr-xr-x 3 hramos THEFACEBOOK\Domain Users 102 Aug 7 14:55 pages
0 drwxr-xr-x 3 hramos THEFACEBOOK\Domain Users 102 Aug 7 14:55 core
0 drwxr-xr-x 3 hramos THEFACEBOOK\Domain Users 102 Aug 7 14:55 ..
0 drwxr-xr-x 7 hramos THEFACEBOOK\Domain Users 238 Aug 7 14:55 .
The text was updated successfully, but these errors were encountered:
The example files are being copied to
YOUR_SITE/website/YOUR_SITE/website/node_modules/docusaurus/examples
instead ofYOUR_SITE/website
.Consider a new plain example site,
docusample
, with a single package.json file:It's contents are:
Running
npm run examples
will place all the placeholder files insideYOUR_SITE/website/YOUR_SITE/website/node_modules/docusaurus/examples/
instead ofYOUR_SITE/website/
itself:The text was updated successfully, but these errors were encountered: