Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSONC highlighting & Upgrade VuePress #1091

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

SessionHu
Copy link
Contributor

@SessionHu SessionHu commented Aug 28, 2024

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.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant