Skip to content
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] Improve the update_file docs #513

Merged
merged 1 commit into from
Jan 9, 2024
Merged

[docs] Improve the update_file docs #513

merged 1 commit into from
Jan 9, 2024

Conversation

beyarkay
Copy link
Contributor

@beyarkay beyarkay commented Jan 8, 2024

This is a documentation-only commit. It updates the docs for the update_file function to explain what the different parameters do and adds a hyperlink to the GitHub API docs.

I was using octocrab but it wasn't clear what the sha parameter was, and why I'd need to provide a file SHA if I'm already giving the path of the file I want to update. I did some digging to figure out the reason, so I thought I'd update the docs to explain this for future travellers.

This is a documentation-only commit. It updates the docs for the update_file function to explain what the different parameters do and adds a hyperlink to the GitHub API docs
@XAMPPRocky
Copy link
Owner

Thank you for your PR, and congrats on your first contribution! 🎉

@XAMPPRocky XAMPPRocky merged commit 80395e9 into XAMPPRocky:main Jan 9, 2024
10 checks passed
@github-actions github-actions bot mentioned this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants