Skip to content

Conversation

@sghng
Copy link
Member

@sghng sghng commented Feb 28, 2025

No description provided.

* introduce vitepress in deps

* add vitepress default files

* update .gitignore

* remove unneeded files

* move index.md

* move README.md to updates.md

* move contribute.md

* remove unnedded pages

* update config.mts

* move some content to index

* fix tricky file

* suppress dead links

* ignore .vitepress dir

* update netlify config
@netlify
Copy link

netlify bot commented Feb 28, 2025

Deploy Preview for sustech-app ready!

Name Link
🔨 Latest commit 56a14dc
🔍 Latest deploy log https://app.netlify.com/sites/sustech-app/deploys/67c39930dab95d0008f785bf
😎 Deploy Preview https://deploy-preview-140--sustech-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sghng sghng changed the title v2.0 (#139) v2.0 Feb 28, 2025
@sghng sghng marked this pull request as draft March 1, 2025 02:42
* update navbar config

* update gitignore

* add type: module

* rename all readme.md to index.md

* type sidebar.ts

* add study abroad sidebar

* add sidebar for experience

* remove unneeded sidebar
* add eslint related deps

* add eslint config

* add tsconfig

* add sort import and format

* introduce cspell

* add cspell

* add format scripts
* oss initialization

* util for clearing bucket

* remove unneeded file

* ignore .env

* use sh formatter

* create deploy script

* create cd workflow

* use sync for deploy
sghng added 2 commits March 1, 2025 17:25
* fix broken links in catalogs

* disable sidebar on contribute page

* create script for routes fix

* update build script

* enable clean urls

* ignore paths files

* turn on format on save
* do not ignore dead links

* append slash to relative relative dir paths

* correct typo in year

* use absolute path in microelectronics index

* correct a typo in name

* fix all deadlinks

* remove some fixed todos

* fix a typo
@sghng sghng marked this pull request as ready for review March 1, 2025 23:29
@sghng sghng self-assigned this Mar 1, 2025
@sghng sghng requested a review from a team March 1, 2025 23:33
@sghng
Copy link
Member Author

sghng commented Mar 1, 2025

  • 通过 fix: dead links #147,迁移到 VitePress 之后的网站已经拥有之前的全部功能,与迁移不相关的一些死链也都已经修复了
  • 通过 fix: bracket routes workaround #146,即使因为历史遗留原因 URL 中包含方括号,也可以正常访问了,但这只是权宜之计
  • 通过 feat: continuous deployment #144,master 分支在更新之后,会自动构建网站并把文件推送到阿里云 OSS,实现持续部署。目前 PR 预览可以通过 Netlify 实现,虽然环境与实际部署不相同,但也够用

@ERICXUCHI 这个分支已经可以合并到 master。要让新版网站上线,还有一些工作:

  • 将域名指向 OSS 存储桶
  • 设置代理,使得 domain.com/#/path 重定向至 domain.com/path,好让旧版网站的链接可以正常访问

@sghng sghng marked this pull request as draft March 2, 2025 04:40
@sghng sghng marked this pull request as ready for review March 9, 2025 15:46
@sghng sghng requested a review from ERICXUCHI March 9, 2025 15:47
@sghng sghng mentioned this pull request Mar 9, 2025
@ERICXUCHI ERICXUCHI merged commit 8c87a42 into master Mar 10, 2025
4 checks passed
@sghng sghng linked an issue Mar 24, 2025 that may be closed by this pull request
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.

【feature】每个系添加年级索引

3 participants