(app, view, path)
| 15 | |
| 16 | |
| 17 | def get_github_url(app, view, path): |
| 18 | return 'https://github.com/{project}/{view}/{branch}/{path}'.format( |
| 19 | project=app.config.edit_on_github_project, |
| 20 | view=view, |
| 21 | branch=app.config.edit_on_github_branch, |
| 22 | path=path) |
| 23 | |
| 24 | |
| 25 | def html_page_context(app, pagename, templatename, context, doctree): |