You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[vibe coding] feat: support multi-version docs (#159)
<!--
Thank you for contributing to OceanBase!
Please feel free to ping the maintainers for the review!
-->
## Summary
close#104
<!--
Please clearly and concisely describe the purpose of this pull request.
If this pull request resolves an issue, please link it via "close #xxx"
or "fix #xxx".
-->
## Solution Description
1. 多版本文档构建系统
- 集成 sphinx-multiversion 扩展,支持为多个分支和标签构建文档
- 配置了版本白名单规则:
- 标签格式:v *.*.*(如 v1.0.0, v1.1.0)
- 分支:main 和 develop
- 自动创建重定向页面,默认跳转到 develop 版本
2. Makefile 新增命令
- `make docs-multiversion`:构建所有版本的文档
- `make docs-serve`:启动支持自动重载的开发服务器
- `make docs`:单版本构建(已更新注释)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Multi-version documentation build and a local doc server with
auto-reload for live previews
* Version selector dropdown in the docs UI to switch between
documentation versions
* **Documentation**
* New styling and banners for version-aware documentation and a redirect
to the latest version for easy access
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 commit comments