Skip to content

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

Merged
reduz merged 1 commit intogodotengine:masterfrom
reduz:fix-doctool-merging-when-signatures-change
Aug 22, 2021
Merged

Fix doctool merges when method signatures don't match#51982
reduz merged 1 commit intogodotengine:masterfrom
reduz:fix-doctool-merging-when-signatures-change

Conversation

@reduz
Copy link
Copy Markdown
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