[Suggestion]: Add "Edit this page" button to the bottom of each documentation page
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 11.8k
- Fork
- 7.9k
- Merge trung bình
- 1 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 11
Mô tả
Summary
Implement an "Edit this page" button at the bottom of each documentation page, linking directly to the corresponding Markdown file on GitHub, allowing users to easily suggest improvements and corrections.
Example in Docusaurus:
Page
No response
Details
To encourage community contributions and streamline the process of updating documentation, it would be helpful to add an "Edit this page" button at the bottom of each documentation page. This button should link directly to the corresponding Markdown file in the GitHub repository, making it simple for users to suggest edits or fix errors.
Acceptance Criteria:
- Add an "Edit this page" button to the bottom of each documentation page.
- Ensure that the button links directly to the Markdown file in the GitHub repository.
- The link should open in edit mode if possible, so users can quickly make changes and propose pull requests.
- The button should be styled consistently with the rest of the documentation site and be easy to find.
Additional Notes:
Please ensure that links point to the correct branch (e.g., main or docs) in the repository so users are editing the most up-to-date version of the file.
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.
Hướng nghiên cứu
Không có tệp hoặc bài kiểm thử nào được nêu tên. Trước tiên, hãy xác định điểm vào để kết xuất trang tài liệu và cách mỗi trang ánh xạ tới tệp Markdown tương ứng trên GitHub; sau đó xác minh nút ở cuối trang, branch chính xác và URL của chế độ chỉnh sửa, kiểu dáng nhất quán và các liên kết của những trang đại diện.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, react
- Lĩnh vực
- documentation
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 48/100