gen_stub: Generate useful methodsynopsises#12330
Conversation
ed09cce to
6b43d94
Compare
9f97023 to
7c6fe5e
Compare
kocsismate
left a comment
There was a problem hiding this comment.
Awesome! Originally, I didn't add support for this feature, because Christoph was against (since there is also the docgen.php). But I think moving this functionality into gen_stub.php makes sense, since docgen.php will never have so much reflection information as gen_stub.php has based on the stubs, so it won't be able to generate an entirely correct page.
P.S. Are you also interested in doing the same for class synopsis pages? ^^
I will have a look at class synopsises later, it would be nice if it also supports generating enums as 8.3 introduces a native one |
c58af0a to
6929af3
Compare
6929af3 to
fd27419
Compare
|
This looks good to me with the exception of one small comment I posted a few minutes ago. :) I'm looking forward to using this feature! |
So that they can be used as a starting point for new functions/methods.
Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>
Do not emit a return value section for constructors and destructors Improve ID and refname generation for methods and support functions (?)
Use a creative solution because libxml otherwise forces xmlns to be the first one
We can just lowercase the result instead of doing each part before
Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>
fd27419 to
e22e0e6
Compare
So that they can be used as a starting point for new functions/methods.
This feels like this should be spun out into some other file really... as
gen_stub.phpis already quite convolute and difficult to understand.