AdoptOpenJDK / AdoptOpenJDK/website-adoptium

Add an "Edit on GitHub" button to Documentation

Đang mở
#96 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
feature
Ngôn ngữ chính
Java
Star
2
Fork
7
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Description:
Add an "Edit on GitHub" button to Documentation.

The button will link the user directly to the asciidoc document at GitHub and open it in editing mode (if possible). An example of such behavior can be found at https://next.adoptopenjdk.net/migration (see link at bottom of the page) or at https://nodejs.org/en/docs/guides/getting-started-guide/. A link to edit a file directly can be based on a simple simple pattern: https://github.com/[TEAM]/[REPO]/edit/master/src/documenation/[DOC-NAME]/index.adoc

## Acceptance criteria:
- Button redirects to https://github.com/[TEAM]/[REPO]/edit/master/src/documenation/[DOC-NAME]/index.adoc
-

## Sketches / Mockups:
See in top-right of sketch
![doc2.png](https://images.zenhubusercontent.com/604e077a71af1d0f958e79e0/babf4d7b-1af1-483d-a27a-92e36d320a90)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

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

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.