[Feature]: Versioned documentation for vfox.dev
Maintainer thường phản hồi trong vòng 1 ngày
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
- 15/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ệ
- github-actions, markdown
- Lĩnh vực
- ci-cd, documentation
Hướng nghiên cứu
Start with docs/.vitepress, which has no version switcher, and .github/workflows/documentation.yml, which rebuilds the site from main on every push touching docs/**. Use docs/usage/core-commands.md and the vfox link change in #736 as the example of a command newer than the latest release. This is a design question, so the first step is agreeing on an option and the open questions with maintainers, not writing code. Done means a chosen approach, with the release-snapshot and zh-hans questions answered.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Related to #750.
1. Your usage scenarios?
vfox.dev has a single set of pages, and it always describes the newest code on main. There are no versioned docs, so a user on an older release cannot find the docs that match the release they installed.
#750 is an example of this:
vfox link,vfox aliasandvfox doctorwere merged in #736 on 2026-10-22 and first shipped in v1.1.0 on 2026-11-07. Thevfox linkdocs landed in the same merge (docs/usage/core-commands.md). The docs site is rebuilt frommainon every push that touchesdocs/**(.github/workflows/documentation.yml), so from 2026-10-22 to 2026-11-07 it documentedvfox linkwhile the latest release, v1.0.13, did not have it. v1.0.13 contains nocmd/commands/link.go, and itsdocs/usage/core-commands.mddoes not mentionvfox link.- Nothing on the site says which release a command, option or config key needs.
Every new release will repeat this: the newest docs describe features that users on the previous release do not have.
ShardingSphere's docs (https://shardingsphere.apache.org/document/current/en/overview) have a version dropdown with current and one path per release (/document/5.5.3/en/overview/, /document/5.5.2/..., down to 1.0.0). docs/.vitepress in this repo has no version switcher. I could not find an earlier issue about versioned docs.
2. What is your expected outcome?
Options for discussion:
- Version selector with per-release snapshots. Build the docs of each release tag into its own path (for example
vfox.dev/v1.1/). The unversioned URLs show the latest release, andmainis published under a separate path such as/next/, labelled as unreleased. - "Available since" notes. Mark each command, option and config key with the release that introduced it. This is smaller and needs no snapshots, but it does not show older behaviour.
- Both: notes first, snapshots later.
Questions for maintainers:
- Which releases get a snapshot: all of them, or only the latest few minor versions?
- How should snapshots be built: from each release tag's
docs/in CI, or committed to a separate branch? - Should
docs/zh-hansget the same versions and selector? - Which option should come first?
- Ngôn ngữ chính
- Go
- Star
- 4k
- Fork
- 177
- Merge trung bình
- 1 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 31
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 version-fox/vfox
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
version-fox/vfox#825 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
version-fox/vfox#823 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 45/100
version-fox/vfox#824 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Plugins fail to load when the HOME path contains ';' or '?' (Lua package.path)Có thể đã có người làm @Xnadir đã nhận hôm nay. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
version-fox/vfox#821 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG]: the Available cache ignores the environment, so one setting's list is shown for anotherCó thể đã có người làm @nanami7777777 đã nhận hôm nay. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
version-fox/vfox#816 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của version-fox/vfox
Issue tương tự
-
go good first issue test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 2 ngày
-
[UI] Guard webApis against undefined window in SSR environmentsCó thể đã có người làm @madhavzanwar đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
kind/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
automated-analysis code-quality refactoring
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/gh-aw-mcpg#17105 ·
Maintainer thường phản hồi trong vòng 1 ngày