-
-
Notifications
You must be signed in to change notification settings - Fork 185
Docs generation is now python -m buildconfig docs
and python -m buildconfig docs full_generation
#2942
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
Conversation
…cs instead of calling make_docs.py directly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I also found it a bit annoying before
Co-authored-by: Ankith <itsankith26@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the PR 🎉
PS: the fails seem unrelated so I will merge this PR in now
…ildconfig docs full_generation` (pygame-community#2942) * Can now use python -m buildconfig docs full_generation to generate docs instead of calling make_docs.py directly * Fixed buildconfig command to be a module run * Updated docs readme to point to new command * Stricter command interface (thanks Ankith) Co-authored-by: Ankith <itsankith26@gmail.com> --------- Co-authored-by: Ankith <itsankith26@gmail.com>
I didn't want to have to invoke a specific python file every time I generate docs, so here's a useful helper