pygame-community / pygame-ce

🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.
https://pyga.me
766 stars 120 forks source link

Docs generation is now `python -m buildconfig docs` and `python -m buildconfig docs full_generation` #2942

Closed oddbookworm closed 11 hours ago

oddbookworm commented 1 week ago

I didn't want to have to invoke a specific python file every time I generate docs, so here's a useful helper

oddbookworm commented 4 days ago

When running it from setup.py it says Please use the following replacement: D:\Programs\Python312\python.exe buildconfig docs full_generation but running that command raises ImportError: attempted relative import with no known parent package as the suggestion is missing '-m'. Other than that, I like this helper

Oops, it's fixed now