-
Notifications
You must be signed in to change notification settings - Fork 290
Open
Labels
Description
What problem does this feature solve
我们仍在使用一个十分古老的vitepress
版本(我们使用v0.20.1
但最新版是v1.2.3
),当前构建环境中的很多问题都来源于这里,同时低版本的依赖也导致了很多脆弱性。
Originally posted by @fu050409 in #1855 (comment)
我尝试为迁移至最新版本做了一些工作,但是由于版本跨度非常大,所以我意识到这是一个麻烦的工作,我需要考虑API的破坏性变化以及一些依赖的更新。最重要的是,DevUI对VitePress进行了相当大的定制化修改,这相当一部分都不能直接适配新版VitePress(可能是我对于我们进行过的定制化不了解导致不知道如何适配这些定制化?),我们需要一些时间来对它进行适配。
我认为可以打开一个新的分支在其中工作,逐步的将旧版本的VitePress迁移到最新版。
What does the proposed API look like
我们需要进行以下工作:
- 创建新的VitePress项目并迁移配置文件迁移vitepress-theme-demoblock至最新版迁移所有文档至新的VitePress项目更新DevUI CLI,使其生成的文件适配最新的接口迁移我们定制化的VitePress样式To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
refactor(cli): rename `children` to `items` to fix changes with vitep…
refactor(config): refactor config for vitepress@latest
refactor(home): refactor `index.md` hero settings
chore(cache): ignore vitepress caches
refactor(button): merge all vue files into `index.md`
refactor(theme): migrate theme config from old version
fix(md): fix multi-single line `<script setup>` tag
fix(demo): try use official demo block instead of custom
refactor(docs): refactor all the documentation
chore(deps): update dependencies
refactor(layout): refactor layout to fit changes with vitepress@latest
v1.2.3
#1898fix(toc): fix headers is empty in toc