You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2018/02/06 10:30:00 UTC
[jira] [Created] (SLING-7473) "Edit on GitHub" button for the
website
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)