Skip to content

Commit f0291e4

Browse files
committedMay 1, 2023
chore: improve 6.x docs build
1 parent 3578ffb commit f0291e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"docs:clean:6x": "rimraf index.html && rimraf -rf ./docs/6.x && rimraf -rf ./docs/source/_docs && rimraf -rf ./tmp",
8181
"docs:copy:tmp": "mkdirp ./tmp/docs/css && mkdirp ./tmp/docs/js && mkdirp ./tmp/docs/images && mkdirp ./tmp/docs/tutorials && mkdirp ./tmp/docs/typescript && mkdirp ./tmp/docs/api && ncp ./docs/css ./tmp/docs/css --filter=.css$ && ncp ./docs/js ./tmp/docs/js --filter=.js$ && ncp ./docs/images ./tmp/docs/images && ncp ./docs/tutorials ./tmp/docs/tutorials && ncp ./docs/typescript ./tmp/docs/typescript && ncp ./docs/api ./tmp/docs/api && cp index.html ./tmp && cp docs/*.html ./tmp/docs/",
8282
"docs:copy:tmp:5x": "rimraf ./docs/5.x && ncp ./tmp ./docs/5.x",
83-
"docs:copy:6x:tmp": "cp -r ./docs/6.x ./docs/tmp",
83+
"docs:move:6x:tmp": "mv ./docs/6.x ./docs/tmp",
8484
"docs:copy:tmp:6x": "rimraf ./docs/6.x && ncp ./tmp ./docs/6.x",
8585
"docs:checkout:gh-pages": "git checkout gh-pages",
8686
"docs:checkout:5x": "git checkout 5.x",
@@ -95,7 +95,7 @@
9595
"docs:view": "node ./scripts/static.js",
9696
"docs:prepare:publish:stable": "npm run docs:checkout:gh-pages && npm run docs:merge:stable && npm run docs:clean:stable && npm run docs:generate && npm run docs:generate:search",
9797
"docs:prepare:publish:5x": "npm run docs:checkout:5x && npm run docs:merge:5x && npm run docs:clean:stable && npm run docs:generate && npm run docs:copy:tmp && npm run docs:checkout:gh-pages && npm run docs:copy:tmp:5x",
98-
"docs:prepare:publish:6x": "npm run docs:checkout:6x && npm run docs:merge:6x && npm run docs:clean:stable && env DOCS_DEPLOY=true npm run docs:generate && npm run docs:copy:6x:tmp && npm run docs:checkout:gh-pages && npm run docs:copy:tmp:6x",
98+
"docs:prepare:publish:6x": "npm run docs:checkout:6x && npm run docs:merge:6x && npm run docs:clean:stable && env DOCS_DEPLOY=true npm run docs:generate && npm run docs:move:6x:tmp && npm run docs:checkout:gh-pages && npm run docs:copy:tmp:6x",
9999
"docs:check-links": "blc http://127.0.0.1:8089 -ro",
100100
"lint": "eslint .",
101101
"lint-js": "eslint . --ext .js",

0 commit comments

Comments
 (0)
Please sign in to comment.