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

Support injecting filepath of source file #4

Merged
merged 3 commits into from
Feb 27, 2018

Conversation

hamishwillee
Copy link
Contributor

This allows you to specify a {{filepath}} (as well as url and title). This then allows the plugin to be used to create links to edit the page on github. The path includes the language code, if one has been defined. It does not include a leading forward slash.

@hamishwillee
Copy link
Contributor Author

@Simran-B Any chance you can merge these and re-release the plugins? Changes are compatible and will not break anything. Essentially I needed them in order to be able to create links to current page on github (to allow easy editing by users).

@hamishwillee
Copy link
Contributor Author

Actually, there is one issue. The new API depends on the innerLang, which was changed in Gitbook in Gitbook 2.6.1.

@Simran-B Simran-B merged commit d45ba2d into Simran-B:master Feb 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants