[ 
https://issues.apache.org/jira/browse/BEAM-4431?focusedWorklogId=158304&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-158304
 ]

ASF GitHub Bot logged work on BEAM-4431:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Oct/18 20:24
            Start Date: 24/Oct/18 20:24
    Worklog Time Spent: 10m 
      Work Description: swegner closed pull request #6804: [BEAM-4431] Add 
"Edit on Github" button to website
URL: https://github.com/apache/beam/pull/6804
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/website/src/_includes/head.html b/website/src/_includes/head.html
index 14c3631b2dc..b8fa2809f3d 100644
--- a/website/src/_includes/head.html
+++ b/website/src/_includes/head.html
@@ -27,6 +27,7 @@
   <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: 
site.baseurl | prepend: site.url }}" data-proofer-ignore>
   <link rel="shortcut icon" type="image/x-icon" href="{{ site.baseurl 
}}/images/favicon.ico">
   <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" 
href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
+  <link rel="stylesheet" 
href="https://use.fontawesome.com/releases/v5.4.1/css/all.css"; 
integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz"
 crossorigin="anonymous">
   <script>
     
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
     (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new 
Date();a=s.createElement(o),
diff --git a/website/src/_includes/header.html 
b/website/src/_includes/header.html
index 072c927bcd0..3eeb77fec9c 100644
--- a/website/src/_includes/header.html
+++ b/website/src/_includes/header.html
@@ -60,6 +60,11 @@
             <li><a 
href="https://www.apache.org/foundation/policies/conduct";>Code of 
Conduct</a></li>
           </ul>
         </li>
+        <li>
+          <a href="https://github.com/apache/beam/edit/master/website/src/{{ 
page.path }}">
+            <i class="far fa-edit fa-lg" alt="Edit on GitHub" title="Edit on 
GitHub"></i>
+          </a>
+        </li>
       </ul>
     </div>
 </nav>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 158304)
    Time Spent: 1h  (was: 50m)

> Add "Edit this Page" button to website
> --------------------------------------
>
>                 Key: BEAM-4431
>                 URL: https://issues.apache.org/jira/browse/BEAM-4431
>             Project: Beam
>          Issue Type: New Feature
>          Components: website
>            Reporter: Scott Wegner
>            Assignee: Alan Myrvold
>            Priority: Minor
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> I found a [thread on the [email protected] 
> list|https://lists.apache.org/thread.html/7c84f8bcdd086d119835c8dc0d995b2aaf642f43b70587d0dff3fa04@%3Cbuilds.apache.org%3E]
>  where the Structs project mentions their "Edit on Github" website button. 
> I've always thought this would be a nice addition to encourage readers to 
> update documentation whenever they see something out-of-date. It sounds like 
> it would be fairly easy to integrate.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to