AdoptOpenJDK / website-adoptium

Repo for new Adoptium website
2 stars 7 forks source link

Add an "Edit on GitHub" button to Documentation #96

Open hiddenmind3 opened 3 years ago

hiddenmind3 commented 3 years ago

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:

Sketches / Mockups:

See in top-right of sketch doc2.png