Skip to content

refactor(vitepress): Cleanup & Improvements#50

Merged
Dreeam-qwq merged 2 commits intoWinds-Studio:mainfrom
wling-art:refactor/vitepress
Apr 9, 2026
Merged

refactor(vitepress): Cleanup & Improvements#50
Dreeam-qwq merged 2 commits intoWinds-Studio:mainfrom
wling-art:refactor/vitepress

Conversation

@wling-art
Copy link
Copy Markdown
Member

@wling-art wling-art commented Apr 9, 2026

Changes

  • Extracting chart/card components from benchmarks for reusing.
  • Cache fetched GitHub contributors to local storage.
  • Remove useless LanguageSwitcher logic.
  • Simplify rainbow.css and remove runtime style injection.
  • General project cleanup, to be more standard and maintainable.

…to TypeScript

- split VitePress site configuration into dedicated config and sidebar modules with locale-aware navigation entries
- refactor benchmark pages by extracting reusable chart/card components and adding stronger TypeScript typing
- improve contributor loading with safer data guards plus localStorage caching to reduce repeated GitHub API requests
- simplify rainbow theme animation CSS and remove runtime style injection logic from theme entry
- add Vue module declarations and update tsconfig include/path settings for better type coverage
- align toolchain dependencies and lockfile updates (vite/vue/sass/types) for the new TS-oriented setup
@wling-art wling-art force-pushed the refactor/vitepress branch from c91672b to 53da26f Compare April 9, 2026 17:57
@Dreeam-qwq Dreeam-qwq added the type: site Pull request for code changes related to the site itself label Apr 9, 2026
@Dreeam-qwq Dreeam-qwq merged commit 3607f4c into Winds-Studio:main Apr 9, 2026
1 check passed
@Dreeam-qwq Dreeam-qwq changed the title refactor(vitepress): modularize docs theme/config and add typed benchmark components refactor(vitepress): Cleanup & Improvements Apr 9, 2026
@wling-art wling-art deleted the refactor/vitepress branch April 9, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: site Pull request for code changes related to the site itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants