Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Generated reference pages for wrapped commands show talosctl in the examples

Đang mở
#239 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
67/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
documentation

Hướng nghiên cứu

Read the Cobra-based reference-page generation path and compare docs/reference/image_cache-create.md with the upstream talosctl examples; also inspect docs/reference/image_integration.md for the duplicate flag descriptions. Decide whether to rewrite wrapped-command examples during generation or label them as upstream examples, and clarify what --installer-tag and --talos-tag select. Done when the generated pages distinguish talm commands from upstream examples and the two flag descriptions are distinguishable.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area/docs kind/bug

docs/reference/image_cache-create.md documents talm image cache-create, and then gives these examples:

talosctl images cache-create --images=... --image-cache-path=...
talosctl images default | talosctl images cache-create --image-cache-path=... --images=-

That block is upstream talosctl's own example text. It reaches the talm reference because talm wraps the command and the pages are generated from the cobra tree. Someone copying from a talm page runs a binary they may not have installed.

docs/reference/image_integration.md has the same root cause in a different shape: --installer-tag and --talos-tag carry the identical description ("tag of the installer image to use"), so there is no way to tell which one selects what.

Either rewrite the examples for wrapped commands at generation time, or label them on the page as upstream talosctl examples.

Ngôn ngữ chính
Go
Star
493
Fork
23
Merge trung bình
2 ngày 4 giờ
Pull request đã merge (30 ngày)
4

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cozystack/talm

Tất cả issue của cozystack/talm

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.