docs: split docs package for vuepress (#12382)

* docs: split docs package for vuepress

* fix: yarn lock changes gha

* fix: remove npm script at top level

* docs: update oneclick link

refs: https://github.blog/changelog/2023-04-24-one-click-into-github-codespaces
This commit is contained in:
Tony
2023-04-25 22:20:56 +08:00
committed by GitHub
parent 71f65a51fe
commit b0ff4a0fee
14 changed files with 10006 additions and 7453 deletions
+2 -2
View File
@@ -39,10 +39,10 @@
"onCreateCommand": "sudo apt-get update && export DEBIAN_FRONTEND=noninteractive && sudo apt-get -y install --no-install-recommends ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libcairo2 libcups2 libdbus-1-3 libexpat1 libgbm1 libglib2.0-0 libnspr4 libnss3 libpango-1.0-0 libx11-6 libxcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxkbcommon0 libxrandr2 wget xdg-utils redis-server && sudo apt-get autoremove -y && sudo apt-get clean -y && sudo rm -rf /var/lib/apt/lists/*",
"updateContentCommand": "yarn",
"updateContentCommand": "yarn && yarn --cwd docs",
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "yarn",
"postCreateCommand": "yarn && yarn --cwd docs",
// Disable auto start dev env since codespaces sometimes fails to attach to the terminal
// "postAttachCommand": {