About
Doc2rst generates reStructuredText from PHP-source trees. The generated reStructuredText than again can act as a source for Sphinx, the versatile tool that builds -amongst others- html.
Doc2rst is written in PHP.
Source code: https://github.com/bhenk/doc2rst