AdoptOpenJDK / AdoptOpenJDK/website-adoptium

Add an "Edit on GitHub" button to Documentation

Aperta
#96 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature
Lingua principale
Java
Stelle
2
Fork
7
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.