Skip to content

Commit

Permalink
chore: improve 7.x docs deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Nov 14, 2023
1 parent c6f1121 commit db7a983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"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",
"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",
"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",
"docs:prepare:publish:7x": "npm run docs:checkout:gh-pages && git merge 7.x && npm run docs:clean:stable && npm run docs:generate && npm run docs:generate:search",
"docs:prepare:publish:7x": "git checkout 7.x && npm run docs:clean:stable && env DOCS_DEPLOY=true npm run docs:generate && mv ./docs/7.x ./tmp && npm run docs:checkout:gh-pages && rimraf ./docs/7.x && ncp ./tmp ./docs/7.x",
"docs:check-links": "blc http://127.0.0.1:8089 -ro",
"lint": "eslint .",
"lint-js": "eslint . --ext .js --ext .cjs",
Expand Down
1 change: 1 addition & 0 deletions scripts/website.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ const versionObj = (() => {
currentVersion: getCurrentVersion(),
latestVersion: getLatestVersion(),
pastVersions: [
getLatestVersionOf(7),
getLatestVersionOf(6),
getLatestVersionOf(5),
]
Expand Down

0 comments on commit db7a983

Please # to comment.