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

Make overridden properties link to parent definition #55559

Merged

Conversation

YuriSizov
Copy link
Contributor

Closes godotengine/godot-docs#4432. Supersedes #44187.

Based on the original PR I've also added this information to the built-in docs with the proper cross links and changed the way it is generated for the online docs. Instead of making the property itself link to another article (which may not be expected), I've replaced "(parent override)" with "(overrides ClassName)", which links to the property description in that class name.

Same logic was added to the built-in docs. I've also aligned the default/overridden values in a table, so they are displayed in a less chaotic manner.

godot windows tools 64_2021-12-02_22-28-14

editor/doc_tools.cpp Outdated Show resolved Hide resolved
editor/editor_help.cpp Outdated Show resolved Hide resolved
Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
@YuriSizov YuriSizov force-pushed the docs-overridden-cross-linked branch from 96f580f to b3992f7 Compare December 3, 2021 14:50
@akien-mga akien-mga merged commit 49799ab into godotengine:master Dec 5, 2021
@akien-mga
Copy link
Member

Thanks!

@YuriSizov YuriSizov deleted the docs-overridden-cross-linked branch December 6, 2021 16:03
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.

Overridden properties should link to parent property definition
2 participants