Skip to content

Get rid of docscomments.js from docs #2959

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

Merged
merged 2 commits into from
Jul 7, 2024
Merged

Conversation

Notenlish
Copy link
Contributor

In docs/reST/classic/elements.html this element is included in the file: <script type="text/javascript" src="https://www.pygame.org/comment/jquery.plugin.docscomments.js"></script>.

However this file isn't necessary and it is also fetched from the original pygame website. This was probably forgotten when the pygame-ce fork was made.

I ran py -m setup.py docs and can confirm that the documentation still works when the script is removed.

Here are some screenshots with the file removed:
image
image
image

Credits to @mzivic7 from pygame community server for pointing this out and @oddbookworm for realizing that it's not needed.

@Notenlish Notenlish requested a review from a team as a code owner June 29, 2024 12:06
Copy link
Member

@damusss damusss left a comment

Choose a reason for hiding this comment

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

Alright, LGTM then!

Copy link
Member

@ankith26 ankith26 left a comment

Choose a reason for hiding this comment

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

LGTM, tested locally and nothing seems broken.

Thanks for contributing! 🎉

@ankith26 ankith26 added this to the 2.5.1 milestone Jul 7, 2024
@ankith26 ankith26 added the docs label Jul 7, 2024
@ankith26 ankith26 merged commit d766565 into pygame-community:main Jul 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants