markstory / sphinxcontrib-phpdomain

A PHP domain for sphinx. Allows you to annotate PHP objects in your sphinx docs.
Other
19 stars 15 forks source link

Adding visibility to class members and abstract/final to classes #52

Open thuttinpasseron opened 1 year ago

thuttinpasseron commented 1 year ago

Hi,

I'm planning to work on an autodoc plugin for PHP using a method similar to sphinx_js, which means I'll rely on phpDocumentor to parse the docblocks into xml and then use sphinx to parse the XML into rst.

I found that the abstact/final keywords were not present for class-like structures, and that the visibility of class members wasn't implemented as well. This PR aims to correct this while staying backwards compatible.

I'm not familiar with how you want to test this, so please tell me if I've done something wrong during my commits.

Thanks in advance for your review.

n-peugnet commented 1 year ago

I'm planning to work on an autodoc plugin for PHP using a method similar to sphinx_js, which means I'll rely on phpDocumentor to parse the docblocks into xml and then use sphinx to parse the XML into rst.

Looking forward to see this. Did you start this project already ?