AdoptOpenJDK / AdoptOpenJDK/website-adoptium

Add an "Edit on GitHub" button to Documentation

Open
#96 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
2
Forks
7
PR merge metrics
No merged PRs in 30d

Description

## 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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.