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

Function setup

docs/sphinxext/github.py:147–160  ·  view source on GitHub ↗

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

(app)

Source from the content-addressed store, hash-verified

145
146
147def setup(app):
148 """Install the plugin.
149
150 :param app: Sphinx application context.
151 """
152 info('Initializing GitHub plugin')
153 app.add_role('ghissue', ghissue_role)
154 app.add_role('ghpull', ghissue_role)
155 app.add_role('ghuser', ghuser_role)
156 app.add_role('ghcommit', ghcommit_role)
157 app.add_config_value('github_project_url', None, 'env')
158
159 metadata = {'parallel_read_safe': True, 'parallel_write_safe': True}
160 return metadata

Callers 1

mainFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected