sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SLING-7473) "Edit on GitHub" button for the website
Date Tue, 06 Feb 2018 10:30:00 GMT
Bertrand Delacretaz created SLING-7473:
------------------------------------------

             Summary: "Edit on GitHub" button for the website
                 Key: SLING-7473
                 URL: https://issues.apache.org/jira/browse/SLING-7473
             Project: Sling
          Issue Type: Task
          Components: Site
            Reporter: Bertrand Delacretaz


Not sure when I'll find time to work on this but it's a cool feature for the website - so
if someone else wants to beat me to it please do!

On the asf-infra mailing list, the Struts team has mentioned their "Edit on GitHub" button,
like at the top of http://struts.apache.org/getting-started/

In our case we need a link like [https://github.com/apache/sling-site/edit/master/src/main/jbake/content/index.md]
with the path afterĀ {{/content}} computed from the actual content path.

The cool thing is that GitHub either edits the page directly, if the logged in user is allowed
to do that, or suggest forking if not.



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

Mime
View raw message