This PR tries to support JSONC highlighting in VuePress and upgrades VuePress to the latest version.
The NodeJS version is also upgraded to 20.
Workflows in this PR do not use secrets.ACCESS_TOKEN and branch gh_pages any more.
Pages are deploying to GitHub Pages using custom workflows now.
You may need to go to this page and set Build and deployment -> Source to GitHub Actions.
At the same time, it fixes some broken links and wrong code block languages.
You can also see these contributors at the bottom of every pages.
The build failed problem is also fixed in this PR.
This PR tries to support JSONC highlighting in VuePress and upgrades VuePress to the latest version. The NodeJS version is also upgraded to 20.
Workflows in this PR do not use
secrets.ACCESS_TOKEN
and branchgh_pages
any more. Pages are deploying to GitHub Pages using custom workflows now. You may need to go to this page and setBuild and deployment -> Source
toGitHub Actions
.At the same time, it fixes some broken links and wrong code block languages. You can also see these contributors at the bottom of every pages. The build failed problem is also fixed in this PR.
See #1045 to learn more about JSONC support.
Demo: https://sessionhu.github.io/bilibili-API-collect/
~Known issue: Running
yarn build
may sometimes result in OOM if running environment available memory less than 8GiB.~~ps: This PR makes the changes in same files as #1088. Merging either will cause conflicts with the other.~