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

Style self-links to make them appear only on hover #9324

Merged
merged 1 commit into from
May 30, 2024

Conversation

rburing
Copy link
Member

@rburing rburing commented May 4, 2024

css_self_links.mp4

On mobile the link appears by tapping on the line of e.g. the method signature (e.g. tapping on the method name).

The implementation is a bit of a hack, but it works. I would have preferred to add an attribute to the self-link to identify it more easily, but I didn't manage to do it with Sphinx (not sure it's possible).

@rburing rburing added enhancement area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository waiting on PR merge PR's that can't be merged until a engine PR is merged first labels May 4, 2024
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally (together with godotengine/godot#91537), it works as expected.

simplescreenrecorder-2024-05-26_20.08.03.mp4

@rburing rburing removed the waiting on PR merge PR's that can't be merged until a engine PR is merged first label May 30, 2024
@mhilbrunner mhilbrunner merged commit ab67eb8 into godotengine:master May 30, 2024
1 check passed
@mhilbrunner
Copy link
Member

Thank you! 🙏

@mhilbrunner mhilbrunner added this to the 4.3 milestone May 30, 2024
@rburing rburing deleted the css_self_links branch May 30, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants