Versioned docs: a version switcher, main plus each release
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- nuxt, typescript
- Lĩnh vực
- documentation
Hướng nghiên cứu
Start by reading the docs site's Nuxt Content configuration and its Vercel prerender setup to see how content collections and routes are built. The issue leaves hosting and the first version branch timing undecided, so those decisions need to be resolved before implementation. Done means readers can switch versions, land on the latest release by default, and find matching pages across versions while search and the quiz use the selected or specified version.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Daniel (2026-10-21): the docs should have versions you can switch between. One version is main, the docs for the release being prepared. The default is the latest release. Later, every release keeps its own docs, so readers can look back at older versions.
How API Platform and Symfony do it
Both keep the docs in their own repo, with one branch per minor version, and the site has a version switcher.
- API Platform (api-platform/docs): branches
1.0…4.4,5.0andmain. The default branch is4.3, where most fixes land before they're merged forward. - Symfony (symfony/symfony-docs): branches
2.0…8.2. The default is7.4, the LTS. Contributors target the oldest maintained branch a change applies to, and maintainers merge it up. URLs carry the version (/doc/7.4/…), and/doc/current/points to the latest stable. Aversionaddednote marks what a version added.
For CWA
- Version scheme: the three projects share 2.0.0 from the beta, and the template and create-cwa share one version. So the docs could branch per CWA minor (
2.0,2.1, …), plusmain. Before 2.0.0 there's one prerelease line:mainandlatest(the newest alpha or beta). - Building: the site is prerendered to Vercel. Options are a separate deploy per branch on a subdomain or path, or one build that renders each branch's
content/under/<version>/. Nuxt Content can take more than one collection from a git source. - Default and switcher:
/and unversioned links go to the latest release, and a header select switches version. Links between versions keep the path when the page exists. - Search,
llms.txtand the quiz: search should cover the selected version, andllms.txtthe latest. The quiz is pinned to doc sections by hash, so it needs one version, probably the latest. - Markers: keep
*Since [template 2.0.0-alpha.N](…)*. In a version's own branch,on main after …notes become release notes or drop out. - Process: document a change on
mainwhen it lands (as now). When a release is cut, branch or tag the docs, and backport fixes to the latest release branch.
Not started. Needs a decision on hosting, and on when to cut the first version branch (at the beta?).
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Merge trung bình
- 1 giờ 20 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của components-web-app/docs
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 67/100
components-web-app/docs#294 · 1 bình luận ·
-
documentation
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
components-web-app/docs#290 ·
-
documentation
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 43/100
components-web-app/docs#285 ·
-
documentation
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 35/100
components-web-app/docs#284 ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
components-web-app/docs#237 · 2 bình luận ·
Tất cả issue của components-web-app/docs
Issue tương tự
-
ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
xavxyz/bei-shan-lin-shui#57 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] rag: sentence content can cross the reported sentence boundariesCó thể đã có người làm @LJK-ikun đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
README: the Resource URI Schemas example's file://documents/* pattern only matches that literal URIĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
platformatic/mcp#361 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
最近文档这个弹窗,左右宽度没有最小宽度限制Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
siyuan-note/siyuan#20799 · 7 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày