deps/gnatcoll-slim/distrib/gnatcoll/__init__.py
raw| 1 | """ |
| 2 | This file makes the GNATCOLL documentation available from GPS |
| 3 | """ |
| 4 | |
| 5 | |
| 6 | |
| 7 | import GPS |
| 8 | from . import runtime |
| 9 | |
| 10 | XML = r"""<?xml version="1.0" ?> |
| 11 | <GPS> |
| 12 | <doc_path>share/doc/gnatcoll</doc_path> |
| 13 | <documentation_file> |
| 14 | <name>html/index.html</name> |
| 15 | <descr>Gnat Reusable Components User's Guide</descr> |
| 16 | <category>GNAT</category> |
| 17 | <menu before='About'>/Help/Gnat Components/Gnat Components User's Guide</menu> |
| 18 | </documentation_file> |
| 19 | </GPS> |
| 20 | """ |
| 21 | |
| 22 | GPS.parse_xml(XML) |