Replies: 1 comment 1 reply
-
Versioning isn't currently supported. There are some third party plugins you may try. Please read - #109 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
中文
在使用 vitepress 书写 api 文档时,由于多个版本之间的 api 内容不尽相同,如何实现对文档内容进行版本管理?
下面的 element-ui 文档截图可作为参考,点击不同版本号时可跳转不同的路由,请问 vitepress 能否实现类似的效果?
为实现类似效果,我曾尝试在服务器为每个版本新建个目录,每次发版时保存当前版本的文件不删除,但是这样只能保证高版本跳到低版本,因为低版本的打包文件里没有高版本的链接 🤔
English
When using vitepress to write API documents, how to implement version management of document contents because the API contents between multiple versions are not exactly the same?
The following screenshot of the element-ui document can be used as a reference. Clicking different version numbers can jump to different routes. Can vitepress achieve a similar effect?
To achieve a similar effect, I have tried to create a new directory for each version on the server, and save the current version of the file without deleting it each time I release a version. However, this can only ensure that the higher version jumps to the lower version, because there is no link to the higher version in the packaged file of the lower version 🤔
Images
vitepress ↑
element-ui new version ↑
element-ui old version ↑
Beta Was this translation helpful? Give feedback.
All reactions