-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
New use examples #920
New use examples #920
Conversation
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.
Looks good! Since you are adding new filea, you need to add them to examples.rst
which serves as a the table of contents.
@sfdye links added 👍 |
doc/examples/Issue.rst
Outdated
|
||
.. code-block:: python | ||
|
||
>>> repo = g.get_repo("PyGithub/PyGithub") |
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.
I feel it's more appropriate to put this example under Repository.rst
, since it's getting repo issues. Other example here is fine. Or simply keep both :)
@sfdye done 👍 |
This PR add the follow code examples * Issue examples (get list, get specific issue, create issue) * Milestone examples (get list, get specific milestone, create milestone) Ref.: PyGithub#874
This PR add the follow code examples
Ref.: #874