MCPcopy Create free account
hub / github.com/apache/trafficserver / setup

Function setup

doc/ext/doxygen.py:156–175  ·  view source on GitHub ↗
(app)

Source from the content-addressed store, hash-verified

154
155
156def setup(app):
157 if etree and path.isfile('xml/index.xml'):
158
159 # The doctree-read event hasn't got the docname argument
160 app.connect('doctree-resolved', doctree_resolved)
161
162 else:
163 if not etree:
164 app.warn(
165 '''Python lxml library not found
166 The library is used to add links from an API description to the source
167 code for that object.
168 Depending on your system, try installing the python-lxml package.''')
169
170 if not path.isfile('xml/index.xml'):
171 app.warn(
172 '''Doxygen files not found: xml/index.xml
173 The files are used to add links from an API description to the source
174 code for that object.
175 Run "$ make doxygen" to generate these XML files.''')

Callers

nothing calls this directly

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected