Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Edit This page link needed #9

Open
paul-hammant opened this issue Oct 23, 2018 · 0 comments
Open

Edit This page link needed #9

paul-hammant opened this issue Oct 23, 2018 · 0 comments

Comments

@paul-hammant
Copy link

Line https://github.com/jooby-project/site-generator/blob/master/src/main/resources/site/layout.html#L92 needs and addition:

<a href="someURL">EDIT THIS PAGE</a>

Where someURL needs to be a function of source page. For example, https://github.com/jooby-project/jooby/blob/master/modules/jooby-hbm/README.md would transform to https://github.com/jooby-project/jooby/edit/master/modules/jooby-hbm/README.md (s#/blob/#/edit/#).

GitHub will offer the end-user a forking opportunity as they complete (save/commit) their edit.

I would contribute the fix for this myself but #8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant