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

[UI] Fix “Edit This Page” Button Link

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

Maintainer thường phản hồi trong vòng 2 ngày

@roshninaktode đang làm issue này rồi.

Từ ngày 23/10/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

good first issue hacktoberfest hacktoberfest-accepted

Description:
The “Edit this page” button currently doesn’t work correctly — it redirects users to an unknown or invalid URL instead of the corresponding GitHub source file.

Goal:
Ensure the “Edit this page” button takes users directly to the correct file in the documentation repository, so contributors can easily submit edits or improvements.

Why:

  • Encourages community contributions by making edits simple and intuitive.
  • Improves user trust — broken links can make the site feel unfinished.
  • Aligns with best practices for open-source documentation workflows.

Suggested Fix:

  • Verify and update the base URL for GitHub edit links in the Docusaurus configuration (usually docusaurus.config.js).
  • Ensure the path dynamically matches the page being viewed.
  • Test across all documentation pages (including nested directories).

Example:
If a user is on /docs/setup/install, the button should link to:
https://github.com/OpsiMate/documentation/edit/main/docs/setup/install.md

Design Notes:
No UI change required — just fix the redirect logic.
Optionally, add a small tooltip or text like “Edit this page on GitHub” to clarify the purpose.

Image
Ngôn ngữ chính
CSS
Star
14
Fork
41
Merge trung bình
2 ngày 17 giờ
Pull request đã merge (30 ngày)
13

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 OpsiMate/documentation

Tất cả issue của OpsiMate/documentation

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.