Documentation Enhancement
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
- 25/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- clojure
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu bằng cách so sánh hàm help trong src/compojure/api/help.clj với phần triển khai mẫu trong src/compojure/api/core.clj, sau đó xem lại tài liệu hiện có trong src/compojure/api/meta.clj. Issue này cần maintainer quyết định nên tạo Markdown thông qua help hay cập nhật trực tiếp các docstrings; được xem là hoàn tất khi một cách tiếp cận đã thống nhất được triển khai và tài liệu được cập nhật.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I've been thinking about expanding some of the docstrings, but I'm not sure how is best to go about it.
One option is to just copy the output of the help function but change it to use markdown instead of plain text, I've made a quick sample implementation here. I realise that this copy pasting of documentation makes it harder to keep updated so this option isn't perfect by any means. I also don't think that the documentation in meta has been updated in 2 years so it might not be perfectly up to date but presumably this can be easily fixed (I know that it definitely has one or two spelling mistakes to be fixed).
Another way I could achieve the same effect could be to change the functions in the help namespace to accept an output-type parameter, or something similar, to change the output to generate markdown instead of plain text. This would mean making a code change though and although I don't see the help function used anywhere else in the code, I don't know who else might be using it.
My question here is what do you think would be the best way to make this change? The hope is to eventually submit this as a pull request.
- Ngôn ngữ chính
- Clojure
- Star
- 1.1k
- Fork
- 145
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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 metosin/compojure-api
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
metosin/compojure-api#489 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
metosin/compojure-api#468 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
metosin/compojure-api#467 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
metosin/compojure-api#464 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
metosin/compojure-api#463 · 3 bình luận ·
Tất cả issue của metosin/compojure-api
Issue tương tự
-
.Needs Triage .Run Repro Bot .Team/UXWest Priority:P3 Type:Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
metabase/metabase#84325 · 1 bình luận ·
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
NoahTheDuke/splint#56 ·
-
Permissioned transactions fetch each entity once per tx-step, producing huge permission-check queriesCó thể đã có người làm @verveguy đã nhận hôm nay. Đang mở
Độ 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 Nửa ngày Mức phù hợp với người mới 84/100
clojure-lsp/clojure-lsp#2502 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Sessions are never closedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100