AdoptOpenJDK / AdoptOpenJDK/website-adoptium

Add an "Edit on GitHub" button to Documentation

未关闭
#96 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature
主要语言
Java
星标
2
派生
7
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。