Skip to content

JSONC highlighting & Upgrade VuePress #1091

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

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

Conversation

SessionHu
Copy link
Collaborator

@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.

@SessionHu
Copy link
Collaborator Author

所以这 PR 什么时候合呢? 等 VuePress 2 的正式版本发布吗?

@CuteReimu
Copy link
Contributor

插句题外话,vuepress有好多炫酷的主题,打不打算换个呢?
参考: https://cutereimu.github.io/fengsheng-doc/

@wuziqian211
Copy link
Collaborator

插句题外话,vuepress有好多炫酷的主题,打不打算换个呢?
参考: https://cutereimu.github.io/fengsheng-doc/

这个最好得看易姐同不同意😂

@SessionHu
Copy link
Collaborator Author

@wuziqian211 确实

@z0z0r4
Copy link
Collaborator

z0z0r4 commented Apr 21, 2025

@SessionHu 我不懂 vuepress,这块都是易姐弄的,你要不去群里 @ShakaiAneE 看看

@z0z0r4
Copy link
Collaborator

z0z0r4 commented Apr 21, 2025

@SessionHu 我很早以前就看到了,但我不敢merge,炸了我可不会修

@wuziqian211
Copy link
Collaborator

这个 PR 可以合并了吗?😂

@SessionHu
Copy link
Collaborator Author

要么问易姐, 要么等 VuePress 2 正式版发布

@wuziqian211 wuziqian211 added 更新/Update 更新过时内容 文档/Document 文档格式内容修改及补充 labels May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
文档/Document 文档格式内容修改及补充 更新/Update 更新过时内容
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants