You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The official documentation sites for the mixer, ttf, and image projects are now more than a decade out of date, having last been generated in 2009 (since before SDL2 was even released). More recent documentation can be found in the actual header files (still not entirely up to date in some cases), but that's pretty arcane for people trying to figure out 1) what functions are actually available in a Python wrapper around the libraries and 2) how those functions actually work. Thus, even though this technically isn't our fault or responsibility, I feel like it might be worth it to document these libraries in the official PySDL2 docs.
To facilitate this, I partially wrote a regex script that spits out .rst files from the SDL2 headers based on function definitions and corresponding comments, which should automate a lot of the grunt work here. Still, it's going to be a bit of work.
The text was updated successfully, but these errors were encountered:
Do you plan to provide those efforts upstream, too? I guess that it might be a great help to them. Also, they might work on something else in parallel, so it might be worth to get in touch.
I mean, it's probably a good idea (there are some fairly major new features/functions added to SDL_image/SDL_ttf/SDL_mixer in the latest hg versions since the last release, so they might be looking to add online docs for those), I'd just need to figure out how to contribute stuff to the projects since they're not on GitHub.
The .rst files I'm generating are using Python format and data types though, so I'd have to backport whatever documentation I add to the C headers, stripping Python specific stuff.
You can get in touch via https://discourse.libsdl.org/ quite easily to initiate a discussion about it and maybe file a bug with a suitable patch afterwards.
The official documentation sites for the mixer, ttf, and image projects are now more than a decade out of date, having last been generated in 2009 (since before SDL2 was even released). More recent documentation can be found in the actual header files (still not entirely up to date in some cases), but that's pretty arcane for people trying to figure out 1) what functions are actually available in a Python wrapper around the libraries and 2) how those functions actually work. Thus, even though this technically isn't our fault or responsibility, I feel like it might be worth it to document these libraries in the official PySDL2 docs.
To facilitate this, I partially wrote a regex script that spits out .rst files from the SDL2 headers based on function definitions and corresponding comments, which should automate a lot of the grunt work here. Still, it's going to be a bit of work.
The text was updated successfully, but these errors were encountered: