Install the plugin. :param app: Sphinx application context.
(app)
| 159 | |
| 160 | |
| 161 | def setup(app): |
| 162 | """Install the plugin. |
| 163 | |
| 164 | :param app: Sphinx application context. |
| 165 | """ |
| 166 | info("Initializing GitHub plugin") |
| 167 | app.add_role("ghissue", ghissue_role) |
| 168 | app.add_role("ghpull", ghissue_role) |
| 169 | app.add_role("ghuser", ghuser_role) |
| 170 | app.add_role("ghcommit", ghcommit_role) |
| 171 | app.add_config_value("github_project_url", None, "env") |
| 172 | |
| 173 | return {"parallel_read_safe": True, "parallel_write_safe": True} |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…