Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix doctool merges when method signatures don't match #51982

Merged

Conversation

reduz
Copy link
Member

@reduz reduz commented Aug 22, 2021

If methods signature did not match, documentation is not merged. This is
a considerable source of annoyance for contributors and it happened as
a result of #4533, which was needed as, otherwise, the documentation for
constructors would not be properly merged.

This PR modifies the logic introduced to only do the signature test on
constructors and operators (which are the only types of members that can repeat).

@reduz reduz force-pushed the fix-doctool-merging-when-signatures-change branch from 987c3b0 to e96a877 Compare August 22, 2021 12:17
@YuriSizov YuriSizov added this to the 4.0 milestone Aug 22, 2021
@reduz reduz force-pushed the fix-doctool-merging-when-signatures-change branch from e96a877 to fb89564 Compare August 22, 2021 12:42
If methods signature did not match, documentation is not merged. This is
a considerable source of annoyance for contributors and it happened as
a result of godotengine#4533, otherwise the documentation for constructors would
not be properly merged.

This PR modifies the logic introduced to only do the signature test on
constructors and operators (which are the only types of members that can repeat).
@reduz reduz force-pushed the fix-doctool-merging-when-signatures-change branch from fb89564 to 431ba0e Compare August 22, 2021 12:43
@reduz reduz merged commit e42628c into godotengine:master Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants