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

Docs: Add cross-links to antialiasing project settings #96893

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

tetrapod00
Copy link
Contributor

@tetrapod00 tetrapod00 commented Sep 12, 2024

First PR for godotengine/godot-docs#9944. Does not close that issue.

Adds three-way cross-links between the settings in ProjectSettings.anti_aliasing and the relevant runtime equivalents on Viewport and RenderingServer.

This is the first PR of multiple, aiming to consistently cross-link between the project settings and the runtime equivalents of each setting. Please review this PR knowing that it will set some precedent for future work. Feel free to nitpick phrasing. I chose antialiasing settings to start because it's a small section and I'm familiar with it. I can do work in larger chunks in the future if it makes reviews easier.

Standardizes style, using "antialiasing" instead of "anti-aliasing", "runtime" instead of "run-time". Antialiasing methods are lowercase, not title case. Some other small changes are made, but I did not try to majorly rewrite the descriptions, or verify correctness of the information already present. If more extensive changes are desired to justify breaking translations, I can do that too.

For cross-link phrasing, I matched existing phrasing on each page. It's not necessarily what I would have written from scratch, but it keeps consistency.
ProjectSettings.xml: [b]Note:[/b] This property is only read when the project starts. To set TAA at runtime, set [member Viewport.use_taa] on the root [Viewport] instead, or use [method RenderingServer.viewport_set_use_taa].
Viewport.xml: See also [member ProjectSettings.rendering/anti_aliasing/quality/use_taa] and [method RenderingServer.viewport_set_use_taa].
RenderingServer.xml: Equivalent to [member ProjectSettings.rendering/anti_aliasing/quality/use_taa] or [member Viewport.use_taa].

I chose three-way cross-linking as a starting point. There might be some argument for not cross-linking this extensively. Maybe we should not direct users to the RenderingServer unless there is no duplicate method in a more friendly class like Viewport?

@skyace65
Copy link
Contributor

Confirmed links lead to the right place

@clayjohn clayjohn modified the milestones: 4.x, 4.4 Oct 17, 2024
@clayjohn clayjohn added the cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release label Oct 17, 2024
@clayjohn clayjohn merged commit cdf45f7 into godotengine:master Oct 17, 2024
20 checks passed
@clayjohn
Copy link
Member

Thank you!

@tetrapod00 tetrapod00 deleted the docs-crosslink-antialiasing branch October 17, 2024 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release documentation enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants