MCPcopy Create free account
hub / github.com/ipython/traitlets / setup

Function setup

docs/sphinxext/github.py:161–173  ·  view source on GitHub ↗

Install the plugin. :param app: Sphinx application context.

(app)

Source from the content-addressed store, hash-verified

159
160
161def 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…