| 154 | |
| 155 | |
| 156 | def 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.''') |