-
-
Notifications
You must be signed in to change notification settings - Fork 152
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 Rework #3132
Comments
Bot IntegrationWe can add special commands to help solve common issues that beginners have or provide info. A command to automatically show documentation for a module/function could be helpful, related to Pygame Community Bot |
I personally agree with all what was said above, so this is my plan :
Please to keep this issue clean, join us on discord in the website thread in the channel contributing. |
Here's the website thread in case people cannot find it: https://discord.com/channels/772505616680878080/1114570952777420861 |
Improvements Compared To PygameThis could be a single page or multiple pages, depending on how many features were added since the fork. Improvements would be seperated like so:
These don't necessarily need to be in the documentation, we can put it to the pygame.community site too. |
About user guidesImproving the pygame beginner experience. Current issuesCurrently, a new pygame user usually starts with a YouTube tutorial. There are old tutorials at https://pyga.me/docs/#tutorials, but hardly anyone uses them. GoalsA new user should quickly learn the essential topics and concepts of pygame games. Introductory GuideThe introductory guide is a broad overview for beginners, pretty standard:
User GuidesPerhaps there should be something like a pygame wikipedia, where a topic is explored in an article, possibly user-generated. Possible user guides
Achievable? Each article could be structured like a wikipedia article. They might be really short. They might reference tutorials and documentation, possibly containing only links to external information to save writing. You can see that these guides will include many of the pages that have been suggested. This way, all of the information other than the introduction and API reference is unified. |
Docs Rework
Pygame-ce documentation is old and has a bunch of legacy stuff and different formattings. This issue is meant to be a tracker to rewrite pygame-ce docs and have discussion about it.
General Issues
Old and outdated documentation styling. This PR aims to fix it: #2924
Inconsistent Docs formatting: #3130
Tutorials and convention : #1924
Suggestions
Adding User Guide
I believe we should replicate what https://docs.pola.rs/ has done, with the documentation being split into
User Guide
,API Reference
andDevelopment
. That way we'll be able to accommodate both beginners, advanced users as well as contributors to pygame-ce.Proper Code Structure
There are many old pygame tutorials available on the web, and this results in really poor code quality by newcomers. Not to mention that this also leads to a lot of issues when pygame-ce users use Pygbag to export their games. I believe a proper page for "pygame-ce approved" project structure is needed.
Performance Improvement
A lot of newcomers struggle with getting good performance while using pygame, there are common issues such as
loading the same images every frame
anddrawing a lot of things using regular python loops
. A dedicated performance page is a must in my opinion.Pygame on Web
There should be more resources on how to avoid common issues and problems with pygbag. The majority of these should be in pygbag, however I believe it would make sense to at least include a special page/module in the docs for putting pygame games on the web.
Dedicated page for Blending Modes
There should be a dedicated documentation page or an interactive page in Pygame Community Website
Getting Rid of Obsolete Information
The current pygame docs has some old stuff from pygame
1.x
. Stuff likeNew in pygame 1.9.5.
could be removed. If we want to keep these information, we can store different versions of the wikiKeeping Multiple Versions Of The Wiki
Self explanatory.
The text was updated successfully, but these errors were encountered: