-
Notifications
You must be signed in to change notification settings - Fork 72
Update quickstart documentation #69
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
This is my first sphinx documentation change so please let me know if there are specific options to use when building the docs. |
Something does not look right. If someone can help me with the sphinx command I will rerun. I ran |
|
``get_id_of_title`` is a function that return id of the given title's file in the directory. | ||
A common task is providing the Google Drive API with a file id. | ||
``get_id_of_title`` is a function that returns the id of a file handle by searching the file titles in a | ||
given directory. The function takes two arguments, title and parent_directory_id. Title is a string that |
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 know that it's not a rule yet across these docs (they haven't been taken care of for a while at Google), but let's do inline code
for var names - parent_directory_id, title, etc
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 updated the formatting. Will try and get the tests to run locally to see where this PR is having problems.
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.
ah, no need I think, CI fails because it can't run tests from a fork (tests depend on credentials that are needed to access GDrive test instance). I don't any reasons for this PR to break tests.
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 am also concerned with the missing lines of code. It appears this PR removes ~1,000 lines and I am not sure what they are for. If you want to review the updates and it looks good, go ahead and merge it. I may submit some changes in the future as I have started using this library for a project and want the docs to be clear for new team members and anyone else who starts using PyDrive.
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.
feel free to remove any changes to the build
directory (just test it locally, that it builds w/o any warnings and you can open it). I can update the build later. (Actually, we need automate this process I think and this using GitHub actions + put build files to a different branch- feel free to create a ticket for this.)
I may submit some changes in the future as I have started using this library for a project and want the docs to be clear for new team members and anyone else who starts using PyDrive.
that would be great! thank you!
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.
It looks fine to me other than the missing portions of the BIN files and the genindex.html file.
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.
Small changes to BIN files in build directory.
@nmaynes I still see some changes to the After this PR is merged I can run the docs build and update the website. |
2588d54
to
f093d12
Compare
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 have gone ahead and removed all the changes from the build directory and pushed only the quickstart.rst
changes. I think this will allow for regenerating the Website with no problems.
@nmaynes thanks ! I'll update the website soon. |
@nmaynes released! |
Title cased section headings, added more description to section on get_id_of_title, changed some language to be clearer.